X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsend.c;h=f7771558cf71c966a2215ea209dd0a8a6e0eb634;hb=097c84b61603c4a4c5837f3dcc09c30a1e751702;hp=2416baf99f487e3dfa05b43669f18ccc1ab0769f;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/send.c b/uip/send.c index 2416baf..f777155 100644 --- a/uip/send.c +++ b/uip/send.c @@ -118,7 +118,7 @@ main(int argc, char **argv) #ifdef LOCALE setlocale(LC_ALL, ""); #endif - invo_name = r1bindex(argv[0], '/'); + invo_name = mhbasename(argv[0]); /* read user profile/context */ context_read(); @@ -361,7 +361,7 @@ main(int argc, char **argv) push(); status = 0; - vec[0] = r1bindex(postproc, '/'); + vec[0] = mhbasename(postproc); closefds(3); for (msgnum = 0; msgnum < msgp; msgnum++) {