diff options
author | krapht <krapht@cvs.openbsd.org> | 2004-11-09 20:43:23 +0000 |
---|---|---|
committer | krapht <krapht@cvs.openbsd.org> | 2004-11-09 20:43:23 +0000 |
commit | 7d0023e942be5cfdf2eb88c1645555d74ebaf841 (patch) | |
tree | 17c8f78fcc8fee176c2003177cc66cbedb38b7b4 /usr.bin/cvs | |
parent | 13549a4aca80818e9052f614bf46a39784c14ce2 (diff) |
cvsd_sock_accept() must return the descriptor, not 0
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/sock.c | 4 |
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 |