]> git.marmaro.de Git - mmh/blobdiff - sbr/addrsbr.c
Added mh_xcalloc().
[mmh] / sbr / addrsbr.c
index ea017f4da0cdd908bce55005fcb48a85ef709430..e5fc19d646ad71d51bf14dbe22c5503d5339c51b 100644 (file)
@@ -103,7 +103,7 @@ getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult)
                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");