diff options
author | 2005-04-13 20:11:21 +0000 | |
---|---|---|
committer | 2005-04-13 20:11:21 +0000 | |
commit | 0a051002153c4f036febdcdc9800c20203c9539f (patch) | |
tree | 8ec430895bc52ca7a35210c9220a839075dc8eed | |
parent | really abort, when privdrop fails. ok reyk@ (diff) | |
download | wireguard-openbsd-0a051002153c4f036febdcdc9800c20203c9539f.tar.xz wireguard-openbsd-0a051002153c4f036febdcdc9800c20203c9539f.zip |
file callbacks won't return -1 anymore, but a CVS_EX_* error
ok jfb@
-rw-r--r-- | usr.bin/cvs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index e5534670a6b..882c216482c 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.59 2005/03/29 17:37:37 joris Exp $ */ +/* $OpenBSD: file.c,v 1.60 2005/04/13 20:11:21 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -714,7 +714,7 @@ cvs_file_examine(CVSFILE *cf, int (*exam)(CVSFILE *, void *), void *arg) ret = (*exam)(cf, arg); TAILQ_FOREACH(fp, &(cf->cf_ddat->cd_files), cf_list) { ret = cvs_file_examine(fp, exam, arg); - if (ret == -1) + if (ret != 0) break; } } else |