X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Faddrsbr.c;h=dc3924bfda51dbb6073ef1285bdef3fa3601ff0a;hp=96fa72f02a53ab74dbd612877300c2cfb55714c0;hb=b78007de9802005825390bee71dfce2306b42519;hpb=10eff860a28b96582526eb739fd0a55441669938 diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index 96fa72f..dc3924b 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -104,7 +104,7 @@ getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult) dftype = LOCALHOST; } - mp = (struct mailname *) mh_xcalloc((size_t) 1, sizeof(*mp)); + mp = mh_xcalloc(1, sizeof(*mp)); if (mp == NULL) { if (eresult) strcpy(eresult, "insufficient memory to represent address");