diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/host.c b/src/src/host.c index 5e66517e8..e11931b60 100644 --- a/src/src/host.c +++ b/src/src/host.c @@ -1582,7 +1582,7 @@ Put it in permanent memory. */ if (hosts->h_aliases) { - int count = 1; + int count = 1; /* need 1 more for terminating NULL */ uschar **ptr; for (uschar ** aliases = USS hosts->h_aliases; *aliases; aliases++) count++; @@ -1691,7 +1691,7 @@ while ((ordername = string_nextinlist(&list, &sep, NULL, 0))) { uschar **aptr = NULL; int ssize = 264; - int count = 0; + int count = 1; /* need 1 more for terminating NULL */ int old_pool = store_pool; sender_host_dnssec = dns_is_secure(dnsa); |