diff options
Diffstat (limited to 'lib/libc/rpc/key_call.c')
-rw-r--r-- | lib/libc/rpc/key_call.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/rpc/key_call.c b/lib/libc/rpc/key_call.c index ef0f241..00df403 100644 --- a/lib/libc/rpc/key_call.c +++ b/lib/libc/rpc/key_call.c @@ -32,7 +32,7 @@ #ident "@(#)key_call.c 1.25 94/04/24 SMI" -#ifndef lint +#if defined(LIBC_SCCS) && !defined(lint) static char rcsid[] = "$FreeBSD$"; #endif /* not lint */ @@ -379,8 +379,7 @@ int vers; endnetconfig(localhandle); return ((CLIENT *) NULL); } - - while (nconf = getnetconfig(localhandle)) { + while ((nconf = getnetconfig(localhandle)) != NULL) { if (strcmp(nconf->nc_protofmly, NC_LOOPBACK) == 0) { /* * We use COTS_ORD here so that the caller can |