diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-12 18:57:58 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-12 18:57:58 +0000 |
commit | 51295a4d3e4c551df85249433c490208dc7fd23d (patch) | |
tree | c116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libc/net/getproto.c | |
parent | af7a29993083b1562f01c87bb774fbe4fc3579e7 (diff) |
Notes
Diffstat (limited to 'lib/libc/net/getproto.c')
-rw-r--r-- | lib/libc/net/getproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getproto.c b/lib/libc/net/getproto.c index 92f562bebfa9..46f46d38e18a 100644 --- a/lib/libc/net/getproto.c +++ b/lib/libc/net/getproto.c @@ -46,7 +46,7 @@ getprotobynumber(proto) register struct protoent *p; setprotoent(_proto_stayopen); - while (p = getprotoent()) + while ( (p = getprotoent()) ) if (p->p_proto == proto) break; if (!_proto_stayopen) |