]> Pileus Git - ~andy/fetchmail/blobdiff - xmalloc.c
Minor bug fixes for socket.c
[~andy/fetchmail] / xmalloc.c
index f722c73bf9ed88bd051f1774bd260c8e08a32fee..c2ca4a66e932a32d99716d851914b13ca05da6f0 100644 (file)
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -31,7 +31,7 @@ xmalloc (size_t n)
     if (p == (XMALLOCTYPE *) 0)
     {
        report(stderr, GT_("malloc failed\n"));
-       exit(PS_UNDEFINED);
+       abort();
     }
     return(p);
 }
@@ -45,7 +45,7 @@ xrealloc (XMALLOCTYPE *p, size_t n)
     if (p == (XMALLOCTYPE *) 0)
     {
        report(stderr, GT_("realloc failed\n"));
-       exit(PS_UNDEFINED);
+       abort();
     }
     return p;
 }