From 5bd4d36871617c9ef72f5c63b6f0d527642d32d2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 30 Dec 2003 17:57:38 +0000 Subject: Update. 2003-12-30 Jakub Jelinek * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL failed. Reported by Steve Grubb. --- sunrpc/pmap_clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc') diff --git a/sunrpc/pmap_clnt.c b/sunrpc/pmap_clnt.c index 7c9a5a37c4..d88487d8f4 100644 --- a/sunrpc/pmap_clnt.c +++ b/sunrpc/pmap_clnt.c @@ -135,7 +135,7 @@ pmap_set (u_long program, u_long version, int protocol, u_short port) tottimeout) != RPC_SUCCESS) { clnt_perror (client, _("Cannot register service")); - return FALSE; + rslt = FALSE; } CLNT_DESTROY (client); /* (void)close(socket); CLNT_DESTROY closes it */ -- cgit v1.2.3-70-g09d2