aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-01 13:48:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-01 13:48:55 +0000
commitf1f91223732477be014979863d2c6786e1268ada (patch)
tree2d56b7ef30493a7f4337a47794b00c63dee3a295
parent605e5c0a6de3a50760504cbdfb1ffb5792a3e5dc (diff)
downloadfetchmail-f1f91223732477be014979863d2c6786e1268ada.tar.gz
fetchmail-f1f91223732477be014979863d2c6786e1268ada.tar.bz2
fetchmail-f1f91223732477be014979863d2c6786e1268ada.zip
Leave space for the trailing NUL.
svn path=/trunk/; revision=1458
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index e6ddd04a..86622068 100644
--- a/driver.c
+++ b/driver.c
@@ -860,7 +860,7 @@ int num; /* index of message */
length += (strlen(idp->id) + 1);
good_addresses++;
}
- names = (char *)alloca(length);
+ names = (char *)alloca(++length);
names[0] = '\0';
for (idp = xmit_names; idp; idp = idp->next)
if (idp->val.num == XMIT_ACCEPT)