about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-30 17:57:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-30 17:57:38 +0000
commit5bd4d36871617c9ef72f5c63b6f0d527642d32d2 (patch)
tree450cdb2dd92cf4499a0eada2c1bc262440199146 /sunrpc
parente5ebb9ca48af0cb491663a3f368ac49268e14420 (diff)
downloadglibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.tar.gz
glibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.tar.xz
glibc-5bd4d36871617c9ef72f5c63b6f0d527642d32d2.zip
Update.
2003-12-30  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL
	failed.  Reported by Steve Grubb.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/pmap_clnt.c2
1 files changed, 1 insertions, 1 deletions
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 */