projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* h/mh.h: raised NAMESZ from 128 to 999. RFC 2822 limits line
[mmh]
/
sbr
/
concat.c
diff --git
a/sbr/concat.c
b/sbr/concat.c
index
a338835
..
4d4e15c
100644
(file)
--- a/
sbr/concat.c
+++ b/
sbr/concat.c
@@
-11,6
+11,7
@@
*/
#include <h/mh.h>
+#include <h/utils.h>
char *
@@
-26,8
+27,7
@@
concat (char *s1, ...)
len += strlen (cp);
va_end(list);
- if (!(dp = sp = malloc(len)))
- adios (NULL, "unable to allocate string storage");
+ dp = sp = mh_xmalloc(len);
sp = copy(s1, sp);