diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/clnt_simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_simple.c b/lib/libc/rpc/clnt_simple.c index e798496..cacecaf 100644 --- a/lib/libc/rpc/clnt_simple.c +++ b/lib/libc/rpc/clnt_simple.c @@ -140,7 +140,7 @@ rpc_call(host, prognum, versnum, procnum, inproc, in, outproc, out, nettype) rcp->valid = 0; rcp->client = NULL; } - if ((nettype == NULL) || (nettype[0] == NULL)) + if ((nettype == NULL) || (nettype[0] == 0)) nettype = "netpath"; if (!(rcp->valid && rcp->pid == getpid() && (rcp->prognum == prognum) && |