projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added mh_xcalloc().
[mmh]
/
uip
/
burst.c
diff --git
a/uip/burst.c
b/uip/burst.c
index
37dc9b1
..
28e0e85
100644
(file)
--- a/
uip/burst.c
+++ b/
uip/burst.c
@@
-117,7
+117,7
@@
main(int argc, char **argv)
seq_setprev(mp); /* set the previous-sequence */
smsgs = (struct smsg *)
seq_setprev(mp); /* set the previous-sequence */
smsgs = (struct smsg *)
- calloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
+ mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
if (smsgs == NULL)
adios(EX_OSERR, NULL, "unable to allocate burst storage");
if (smsgs == NULL)
adios(EX_OSERR, NULL, "unable to allocate burst storage");