X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=a4c170bfb25cda92b29091f6e3ebd41b2a3d6f77;hp=4a24fc4b74989228e0b6c3236eae866e87387701;hb=10eff860a28b96582526eb739fd0a55441669938;hpb=d6742b1bb19c7eca8488402484a6e4f55543d789 diff --git a/uip/spost.c b/uip/spost.c index 4a24fc4..a4c170b 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -319,7 +319,7 @@ main(int argc, char **argv) adios(EX_DATAERR, NULL, "message has no recipients"); } - sargv = mh_xmalloc(sizeof(char **) * (recipientsc + 4)); + sargv = mh_xcalloc(recipientsc + 4, sizeof(char **)); argp = sargv; *argp++ = "send-mail";