* svc.c (xprt_unregister): Fix typo
authorTom Yu <tlyu@mit.edu>
Wed, 21 Apr 1999 20:22:49 +0000 (20:22 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 21 Apr 1999 20:22:49 +0000 (20:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11371 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/ChangeLog
src/lib/rpc/svc.c

index 2db24107cfe0ff799b534cfc44fd3a89722110ab..56332315b3f11f00288c89ec1ef2313e8d179347 100644 (file)
@@ -1,3 +1,7 @@
+Wed Apr 21 16:22:32 1999  Tom Yu  <tlyu@mit.edu>
+
+       * svc.c (xprt_unregister): Fix typo.
+
 1999-04-14    <tytso@rsts-11.mit.edu>
 
        * svc.c (svc_getreq, svc_getreqset): Avoid using internal, private
index 725570b0c346c05b6282855422a6fda2c7d95f1b..b80b493cbcca8d1eb60c6e6a5e21112a7d7581df 100644 (file)
@@ -119,7 +119,7 @@ xprt_unregister(xprt)
        if ((sock < _gssrpc_rpc_dtablesize()) && (xports[sock] == xprt)) {
                xports[sock] = (SVCXPRT *)0;
                FD_CLR(sock, &svc_fdset);
-               if (max_xport = sock) {
+               if (max_xport <= sock) {
                        while ((max_xport > 0) && xports[max_xport] == 0)
                                max_xport--;
                }