]> Pileus Git - ~andy/fetchmail/blobdiff - xalloca.c
Easy bug fixes for this round.
[~andy/fetchmail] / xalloca.c
index ce3285ee7873b66cea04f849478935a8d334ebc4..812b551418a59a7fd911702cb2cf605ac34165de 100644 (file)
--- 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");
+    {
+       report(stderr, GT_("alloca failed\n"));
+       exit(PS_UNDEFINED);
+    }
     return(p);
 }