summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-09-27 17:11:08 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-09-27 17:11:08 +0000
commit26ed3e668bfa51ca1ce3eaff89f2306a4167c578 (patch)
tree1771bdb5007ff0da61df6fa752dbd07f400a4c7f /usr.bin/cvs
parent1c0038fd705e28af7b4b907742ef0c6b38b89cbf (diff)
cvsd_recvmsg() is supposed to return 1 when a message has been read.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/msg.c b/usr.bin/cvs/msg.c
index ea8c50dd7c2..620f1fbefb1 100644
--- a/usr.bin/cvs/msg.c
+++ b/usr.bin/cvs/msg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msg.c,v 1.3 2004/09/25 12:22:54 jfb Exp $ */
+/* $OpenBSD: msg.c,v 1.4 2004/09/27 17:11:07 jfb Exp $ */
/*
* Copyright (c) 2002 Matthieu Herrb
* Copyright (c) 2001 Niels Provos <provos@citi.umich.edu>
@@ -224,5 +224,5 @@ cvsd_recvmsg(int fd, u_int *type, void *dst, size_t *len)
*type = msg.cm_type;
- return (0);
+ return (1);
}