diff options
author | 1996-09-15 09:30:42 +0000 | |
---|---|---|
committer | 1996-09-15 09:30:42 +0000 | |
commit | c8f91e0d750eb1dd5aa79a93a20a522c47067c28 (patch) | |
tree | 151e2a572b80f59c243874a0738c218470cf1bc0 /lib/libc/rpc/clnt_tcp.c | |
parent | print debugging flags in usage(); idea from freebsd (diff) | |
download | wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.tar.xz wireguard-openbsd-c8f91e0d750eb1dd5aa79a93a20a522c47067c28.zip |
Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend
Diffstat (limited to 'lib/libc/rpc/clnt_tcp.c')
-rw-r--r-- | lib/libc/rpc/clnt_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/clnt_tcp.c b/lib/libc/rpc/clnt_tcp.c index a67673edd0e..a2239061dcf 100644 --- a/lib/libc/rpc/clnt_tcp.c +++ b/lib/libc/rpc/clnt_tcp.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.8 1996/09/02 05:01:09 deraadt Exp $"; +static char *rcsid = "$OpenBSD: clnt_tcp.c,v 1.9 1996/09/15 09:31:34 tholo Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -443,7 +443,7 @@ readtcp(ct, buf, len) free(fds); return (-1); case -1: - if (errno == EINTR); + if (errno == EINTR) continue; ct->ct_error.re_status = RPC_CANTRECV; ct->ct_error.re_errno = save_errno; |