about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--manual/string.texi2
-rw-r--r--sunrpc/pmap_clnt.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 23bd15ed1e..64f4bd2ba0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2003-12-29  Ulrich Drepper  <drepper@redhat.com>
 
 	* elf/elf.h: Add a few definitions from Solaris 9.
diff --git a/manual/string.texi b/manual/string.texi
index 21941594b1..f840f64564 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1763,7 +1763,7 @@ character of the substring, or a null pointer if no match was found.  If
 @comment wchar.h
 @comment XPG
 @deftypefun {wchar_t *} wcswcs (const wchar_t *@var{haystack}, const wchar_t *@var{needle})
-@code{wcsstr} is an depricated alias for @code{wcsstr}.  This is the
+@code{wcswcs} is an deprecated alias for @code{wcsstr}.  This is the
 name originally used in the X/Open Portability Guide before the
 @w{Amendment 1} to @w{ISO C90} was published.
 @end deftypefun
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 */