summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-04-13 20:11:22 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-04-13 20:11:22 +0000
commitb704b7d68b4c318bcfa21fda1cf48d5deb02846e (patch)
treec90223ebc25b86dc162ba1a59f9774ed59cbdf81 /usr.bin
parentf3c32bd80b86ce9b84bb63ae31702e3d81210ce0 (diff)
file callbacks won't return -1 anymore, but a CVS_EX_* error
ok jfb@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/file.c4
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