X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvtty.c;h=20274e76b4e10e406c85fb88efbefc76f479fb97;hp=1e2a3efcc0ffc33d44a601428b913aff07fbdf8d;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 1e2a3ef..20274e7 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -99,7 +99,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();