aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-08 16:17:20 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-08 16:17:20 +0000
commitc3bb716979d671c1564070806c33ea3f0d66f698 (patch)
treeffcb021f80117692633832008cd01eaa98314e1f /driver.c
parent5cba49f606e29d7069ffb115ad090fdc4d07d4da (diff)
downloadfetchmail-c3bb716979d671c1564070806c33ea3f0d66f698.tar.gz
fetchmail-c3bb716979d671c1564070806c33ea3f0d66f698.tar.bz2
fetchmail-c3bb716979d671c1564070806c33ea3f0d66f698.zip
Port fixes.
svn path=/trunk/; revision=1489
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 8eb7494f..c8b76d08 100644
--- a/driver.c
+++ b/driver.c
@@ -27,6 +27,10 @@
#endif
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
+#else
+#ifdef _AIX
+ #pragma alloca
+#endif
#endif
#if defined(HAVE_SYS_ITIMER_H)
#include <sys/itimer.h>
@@ -870,7 +874,7 @@ int num; /* index of message */
desthost = "localhost";
length = strlen(ctl->mda) + 1;
- before = strdup(ctl->mda);
+ before = xstrdup(ctl->mda);
/* sub user addresses for %T (or %s for backward compatibility) */
cp = (char *)NULL;