From 3307a01c9188b9fe6102c346c7a5d121db463187 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 21 Apr 1999 20:22:49 +0000 Subject: [PATCH] * svc.c (xprt_unregister): Fix typo git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11371 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 4 ++++ src/lib/rpc/svc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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--; } -- 2.26.2