about summary refs log tree commit diff
path: root/nss/nss_files/files-hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nss_files/files-hosts.c')
-rw-r--r--nss/nss_files/files-hosts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index c96a39c38e..7f4e778c7e 100644
--- a/nss/nss_files/files-hosts.c
+++ b/nss/nss_files/files-hosts.c
@@ -232,6 +232,8 @@ _nss_files_get##name##_r (proto,					      \
 		  /* Compute the new buffer end.  */			      \
 		  bufferend = (char *) &new_h_aliases[naliases + 1];	      \
 		  assert (bufferend <= buffer + buflen);		      \
+									      \
+		  result = old_result;					      \
 		}							      \
 	    }								      \
 									      \