aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-29 19:24:34 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-29 19:24:34 +0000
commit6ad0d2ab4a474867d45889ff5e7474e9cc9097ac (patch)
tree072b79a39c521e8f6bc63a9d5a6488fc94b59432 /xmalloc.c
parent2057e666a2c2f7803b86640bcaeaa5c1e35ac58c (diff)
downloadrtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.gz
rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.bz2
rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.zip
Nuke debugging.
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 68861c2c..986a017f 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -1,4 +1,4 @@
-/* $Id: xmalloc.c,v 1.7 2009-01-14 19:29:32 nicm Exp $ */
+/* $Id: xmalloc.c,v 1.8 2009-01-29 19:24:34 nicm Exp $ */
/*
* Copyright (c) 2004 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -44,7 +44,7 @@ xcalloc(size_t nmemb, size_t size)
void *ptr;
if (size == 0 || nmemb == 0)
- { abort();fatalx("zero size");}
+ fatalx("zero size");
if (SIZE_MAX / nmemb < size)
fatalx("nmemb * size > SIZE_MAX");
if ((ptr = calloc(nmemb, size)) == NULL)