X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Freplsbr.c;h=1bdab9e92be631660525f0b52a9f922a14872a37;hp=e26badd112fffca4fae68e29400de5f04e00272f;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/replsbr.c b/uip/replsbr.c index e26badd..1bdab9e 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -436,7 +436,7 @@ replfilter(FILE *in, FILE *out, char *filter) if (access(filter, R_OK) == NOTOK) adios(filter, "unable to read"); - mhl = r1bindex(mhlproc, '/'); + mhl = mhbasename(mhlproc); rewind(in); lseek(fileno(in), (off_t) 0, SEEK_SET);