summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/sock.c')
-rw-r--r--usr.bin/cvs/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/sock.c b/usr.bin/cvs/sock.c
index e543e0154f5..acabab1b530 100644
--- a/usr.bin/cvs/sock.c
+++ b/usr.bin/cvs/sock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sock.c,v 1.6 2004/09/24 15:51:07 jfb Exp $ */
+/* $OpenBSD: sock.c,v 1.7 2004/11/09 20:43:22 krapht Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -162,7 +162,7 @@ cvsd_sock_accept(int fd)
return (-1);
}
- return (0);
+ return (cfd);
}
#endif