aboutsummaryrefslogtreecommitdiff
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/nss_files/files-hosts.c b/nss/nss_files/files-hosts.c
index 7f4e778..4cd0cd2 100644
--- a/nss/nss_files/files-hosts.c
+++ b/nss/nss_files/files-hosts.c
@@ -200,6 +200,7 @@ _nss_files_get##name##_r (proto, \
bufferend = (__stpcpy (bufferend, \
tmp_result_buf.h_aliases[cnt]) \
+ 1); \
+ ++cnt; \
} \
\
if (cnt < newaliases) \