summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-27 13:08:24 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-27 13:08:24 +0000
commit0b33563b43179a7e086131da8905531974151d1c (patch)
treeb795a14d9723f79b6f8621cd3552c4b60b7c2dde /usr.bin/cvs
parentbb4db0fa8336704eaf9c3115ce09ecb20caccb3e (diff)
* don't always return 0 in cvs_client_sendreq()
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 4ef72aed707..8b0451bc9cd 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.2 2004/07/26 16:01:22 jfb Exp $ */
+/* $OpenBSD: client.c,v 1.3 2004/07/27 13:08:23 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -270,7 +270,7 @@ cvs_client_sendreq(u_int rid, const char *arg, int resp)
} while (ret == 0);
}
- return (0);
+ return (ret);
}