diff options
Diffstat (limited to 'rfc822.c')
-rw-r--r-- | rfc822.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ const unsigned char *host; /* server hostname */ for (cp = buf; *cp; cp++) if (*cp == ',' || isspace(*cp)) addresscount++; - buf = (unsigned char *)xrealloc(buf, strlen(buf) + addresscount * strlen(host) + 1); + buf = (unsigned char *)xrealloc(buf, strlen(buf) + addresscount * (strlen(host) + 1) + 1); #endif /* MAIN */ /* |