X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fspost.c;h=b65e4c4227214524050055bb3779a3d5498b8011;hb=8bf8e1e29df17658c3d77629e17f88bf9159e21b;hp=7a59d591a3f36ad37d6c3e5ff5e4676c08fd911a;hpb=98bb940e0e5a38128465e834e9ee99f2e6060d93;p=mmh diff --git a/uip/spost.c b/uip/spost.c index 7a59d59..b65e4c4 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -628,7 +628,6 @@ static void process_bccs(char *origmsg) { char *bccdraft = NULL; - char buf[BUFSIZ]; struct mailname *mp = NULL; FILE *out = NULL; @@ -640,8 +639,7 @@ process_bccs(char *origmsg) fprintf(out, "------------\n"); fclose(out); - snprintf(buf, sizeof buf, "send %s", bccdraft); - if (system(buf) != 0) { + if (execprogl("send", "send", bccdraft, (char *)NULL) != 0) { admonish(invo_name, "Problems to send Bcc to %s", mp->m_text); unlink(bccdraft);