diff options
author | 2004-11-09 20:43:22 +0000 | |
---|---|---|
committer | 2004-11-09 20:43:22 +0000 | |
commit | 91a7a0b593d0241aefe1dd8f6998eba227fb210b (patch) | |
tree | 42a29f08d96e1ec8b5765db5356c3d3f7c15e558 | |
parent | Do not map empty mbufs (m_len == 0) in bus_dmamap_load_mbuf() as these mappings (diff) | |
download | wireguard-openbsd-91a7a0b593d0241aefe1dd8f6998eba227fb210b.tar.xz wireguard-openbsd-91a7a0b593d0241aefe1dd8f6998eba227fb210b.zip |
cvsd_sock_accept() must return the descriptor, not 0
-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 |