projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
porte encode_rfc2047 from nmh
[mmh]
/
sbr
/
addrsbr.c
diff --git
a/sbr/addrsbr.c
b/sbr/addrsbr.c
index
ea017f4
..
09ea131
100644
(file)
--- a/
sbr/addrsbr.c
+++ b/
sbr/addrsbr.c
@@
-8,6
+8,7
@@
#include <sysexits.h>
#include <h/mh.h>
#include <sysexits.h>
#include <h/mh.h>
+#include <h/utils.h>
#include <h/addrsbr.h>
#include <h/mf.h>
#include <h/addrsbr.h>
#include <h/mf.h>
@@
-103,7
+104,7
@@
getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult)
dftype = LOCALHOST;
}
dftype = LOCALHOST;
}
- mp = (struct mailname *) calloc((size_t) 1, sizeof(*mp));
+ mp = (struct mailname *) mh_xcalloc((size_t) 1, sizeof(*mp));
if (mp == NULL) {
if (eresult)
strcpy(eresult, "insufficient memory to represent address");
if (mp == NULL) {
if (eresult)
strcpy(eresult, "insufficient memory to represent address");