diff options
Diffstat (limited to 'lib/libc/rpc/rpc_generic.c')
-rw-r--r-- | lib/libc/rpc/rpc_generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c index 3e33e6d..4baa633 100644 --- a/lib/libc/rpc/rpc_generic.c +++ b/lib/libc/rpc/rpc_generic.c @@ -206,7 +206,7 @@ getnettype(nettype) { int i; - if ((nettype == NULL) || (nettype[0] == NULL)) { + if ((nettype == NULL) || (nettype[0] == 0)) { return (_RPC_NETPATH); /* Default */ } @@ -294,7 +294,7 @@ __rpc_getconfip(nettype) else { return (NULL); } - if ((netid == NULL) || (netid[0] == NULL)) { + if ((netid == NULL) || (netid[0] == 0)) { return (NULL); } dummy = getnetconfigent(netid); |