From 1c22d6daaa2d33b980c1a5d85e45c49b4f6ca394 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 24 Apr 1999 00:06:59 +0000 Subject: [PATCH] * svc.c: Fix to reference the correct xprt because we're no longer calling ffs(); also remove some unused variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11392 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 5 +++++ src/lib/rpc/svc.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 56332315b..593599ef8 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 23 20:05:38 1999 Tom Yu + + * svc.c: Fix to reference the correct xprt because we're no longer + calling ffs(); also remove some unused variables. + Wed Apr 21 16:22:32 1999 Tom Yu * svc.c (xprt_unregister): Fix typo. diff --git a/src/lib/rpc/svc.c b/src/lib/rpc/svc.c index b80b493cb..f38b0debc 100644 --- a/src/lib/rpc/svc.c +++ b/src/lib/rpc/svc.c @@ -411,9 +411,6 @@ svc_getreqset(readfds) rpc_u_int32 high_vers; struct svc_req r; register SVCXPRT *xprt; - rpc_u_int32 mask; - int bit; - rpc_u_int32 *maskp; register int sock; bool_t no_dispatch; @@ -426,7 +423,7 @@ svc_getreqset(readfds) for (sock = 0; sock <= max_xport; sock++) { if (FD_ISSET(sock, readfds)) { /* sock has input waiting */ - xprt = xports[sock + bit - 1]; + xprt = xports[sock]; #else for (sock = 0; readfds_local != 0; sock++, readfds_local >>= 1) { if ((readfds_local & 1) != 0) { -- 2.26.2