aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc.c
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-11 17:22:51 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-11 17:22:51 +0000
commitb2843ce28883df87d756f51f007f7d96872d9198 (patch)
tree0794adfeaf014167a9bcae491e23ec49d092fea9 /lib/libc/rpc/svc.c
parent94591e176e288171ae18822cfd4c68caf2ed8c6d (diff)
downloadsrc-b2843ce28883df87d756f51f007f7d96872d9198.tar.gz
src-b2843ce28883df87d756f51f007f7d96872d9198.zip
Code cleanup:
Fixed a couple of nitpick warnings, plus one that slipped through the net earlier. This directory now compiles without any warnings with -Wall! (Until the next gcc upgrade...)
Notes
Notes: svn path=/head/; revision=16302
Diffstat (limited to 'lib/libc/rpc/svc.c')
-rw-r--r--lib/libc/rpc/svc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c
index 3bc9c1ddc0f4..06c060918bb7 100644
--- a/lib/libc/rpc/svc.c
+++ b/lib/libc/rpc/svc.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)svc.c 2.4 88/08/11 4.0 RPCSRC";*/
-static char *rcsid = "$Id: svc.c,v 1.3 1995/10/22 14:51:34 phk Exp $";
+static char *rcsid = "$Id: svc.c,v 1.4 1996/06/10 00:49:18 jraynard Exp $";
#endif
/*
@@ -417,7 +417,7 @@ svc_getreqset(readfds)
setsize = _rpc_dtablesize();
maskp = (u_long *)readfds->fds_bits;
for (sock = 0; sock < setsize; sock += NFDBITS) {
- for (mask = *maskp++; bit = ffs(mask); mask ^= (1 << (bit - 1))) {
+ for (mask = *maskp++; (bit = ffs(mask)); mask ^= (1 << (bit - 1))) {
/* sock has input waiting */
xprt = xports[sock + bit - 1];
#else