X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fforw.c;h=13aaaa9992e03a085f3c415b448a0317482e3271;hb=64d621d6806432dabe5bd62282f17027bb08d418;hp=9ad2877119e9105686f07c350952fa539fb5bfb1;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/forw.c b/uip/forw.c index 9ad2877..13aaaa9 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -109,7 +109,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(); @@ -385,7 +385,7 @@ mhl_draft(int out, char *digest, int volume, int issue, if (pipe(pd) == NOTOK) adios("pipe", "unable to create"); - vec[0] = r1bindex(mhlproc, '/'); + vec[0] = mhbasename(mhlproc); for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++) sleep(5);