X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fgetport.c;fp=support%2Fnfs%2Fgetport.c;h=71f02f3e655e9a59fb031e539f79e7f84a55a5a6;hp=bc0f1211d6354c66279b23f5c305e8b3bec2f549;hb=e188c214f487c9783ab3ae3e987d9a98b9298dfb;hpb=d0280c201a47cce4aadcfa610b8e03865cce5c5e diff --git a/support/nfs/getport.c b/support/nfs/getport.c index bc0f121..71f02f3 100644 --- a/support/nfs/getport.c +++ b/support/nfs/getport.c @@ -469,7 +469,7 @@ static unsigned short nfs_gp_rpcb_getaddr(CLIENT *client, case RPC_SUCCESS: if ((uaddr == NULL) || (uaddr[0] == '\0')) { rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; - continue; + return 0; } port = nfs_universal2port(uaddr);