summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1999-04-24 00:06:59 +0000
committerTom Yu <tlyu@mit.edu>1999-04-24 00:06:59 +0000
commit1c22d6daaa2d33b980c1a5d85e45c49b4f6ca394 (patch)
treed51cdd5b6da690c4e4a4e045c4f9fa9b46ed1455 /src
parenta0820abe874a337a08f28c86c1c4927a4078c00f (diff)
downloadkrb5-1c22d6daaa2d33b980c1a5d85e45c49b4f6ca394.tar.gz
krb5-1c22d6daaa2d33b980c1a5d85e45c49b4f6ca394.tar.xz
krb5-1c22d6daaa2d33b980c1a5d85e45c49b4f6ca394.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/lib/rpc/ChangeLog5
-rw-r--r--src/lib/rpc/svc.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog
index 56332315b3..593599ef89 100644
--- a/src/lib/rpc/ChangeLog
+++ b/src/lib/rpc/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 23 20:05:38 1999 Tom Yu <tlyu@mit.edu>
+
+ * 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 <tlyu@mit.edu>
* svc.c (xprt_unregister): Fix typo.
diff --git a/src/lib/rpc/svc.c b/src/lib/rpc/svc.c
index b80b493cbc..f38b0debc3 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) {