From: Tom Yu Date: Wed, 21 Apr 1999 20:22:49 +0000 (+0000) Subject: * svc.c (xprt_unregister): Fix typo X-Git-Tag: krb5-1.1-beta1~217 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3307a01c9188b9fe6102c346c7a5d121db463187;p=krb5.git * svc.c (xprt_unregister): Fix typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11371 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 2db24107c..56332315b 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 21 16:22:32 1999 Tom Yu + + * svc.c (xprt_unregister): Fix typo. + 1999-04-14 * svc.c (svc_getreq, svc_getreqset): Avoid using internal, private diff --git a/src/lib/rpc/svc.c b/src/lib/rpc/svc.c index 725570b0c..b80b493cb 100644 --- a/src/lib/rpc/svc.c +++ b/src/lib/rpc/svc.c @@ -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--; }