diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-29 19:24:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-29 19:24:34 +0000 |
commit | 6ad0d2ab4a474867d45889ff5e7474e9cc9097ac (patch) | |
tree | 072b79a39c521e8f6bc63a9d5a6488fc94b59432 /xmalloc.c | |
parent | 2057e666a2c2f7803b86640bcaeaa5c1e35ac58c (diff) | |
download | rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.gz rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.tar.bz2 rtmux-6ad0d2ab4a474867d45889ff5e7474e9cc9097ac.zip |
Nuke debugging.
Diffstat (limited to 'xmalloc.c')
-rw-r--r-- | xmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |