aboutsummaryrefslogtreecommitdiffstats
path: root/xalloca.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-02-03 02:55:59 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-02-03 02:55:59 +0000
commitd0c2c187633fa906eee672c21f46a2ac68148d15 (patch)
treefc51a3d3a52c16d7edc82f1a388f4107ea238d95 /xalloca.c
parentb7406a23e1b4e9279e7bffd88352a20574a45f62 (diff)
downloadfetchmail-d0c2c187633fa906eee672c21f46a2ac68148d15.tar.gz
fetchmail-d0c2c187633fa906eee672c21f46a2ac68148d15.tar.bz2
fetchmail-d0c2c187633fa906eee672c21f46a2ac68148d15.zip
Simplify error reporting further.
svn path=/trunk/; revision=2374
Diffstat (limited to 'xalloca.c')
-rw-r--r--xalloca.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xalloca.c b/xalloca.c
index 769d70b9..2bb4e4ed 100644
--- a/xalloca.c
+++ b/xalloca.c
@@ -40,7 +40,10 @@ int n;
p = (XALLOCATYPE *) alloca(n);
if (p == (XALLOCATYPE *) 0)
- report(stderr, PS_UNDEFINED, 0, "alloca failed\n");
+ {
+ report(stderr, "alloca failed\n");
+ exit(PS_UNDEFINED);
+ }
return(p);
}