diff options
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r-- | usr.bin/cvs/annotate.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c index cff6c33ff5e..b92bbfca039 100644 --- a/usr.bin/cvs/annotate.c +++ b/usr.bin/cvs/annotate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: annotate.c,v 1.12 2005/05/20 18:32:23 jfb Exp $ */ +/* $OpenBSD: annotate.c,v 1.13 2005/05/20 20:00:53 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -140,6 +140,10 @@ cvs_annotate_file(CVSFILE *cf, void *arg) cf->cf_name); else ret = cvs_senddir(root, cf); + + if (ret == -1) + ret = CVS_EX_PROTO; + return (ret); } @@ -164,5 +168,8 @@ cvs_annotate_file(CVSFILE *cf, void *arg) break; } + if (ret == -1) + ret = CVS_EX_PROTO; + return (ret); } |