X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsendsbr.c;h=4670345c7bb95d28bb7e283350032afa356fc49f;hb=097c84b61603c4a4c5837f3dcc09c30a1e751702;hp=c7f4d447238ea7fc1c530607bdd55c98af742fd6;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/sendsbr.c b/uip/sendsbr.c index c7f4d44..4670345 100644 --- a/uip/sendsbr.c +++ b/uip/sendsbr.c @@ -709,7 +709,7 @@ alert(char *file, int out) snprintf(buf, sizeof(buf), "send failed on %s", forwsw ? "enclosed draft" : file); - execlp(mailproc, r1bindex(mailproc, '/'), + execlp(mailproc, mhbasename(mailproc), getusername(), "-subject", buf, NULL); fprintf(stderr, "unable to exec "); perror(mailproc);