X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdropsbr.c;h=15cee8fb3d16abb9c8edb8852eaea7747b44b812;hp=a857a1a86d5b2e3e42077327103fbe20c46046a0;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/dropsbr.c b/uip/dropsbr.c index a857a1a..15cee8f 100644 --- a/uip/dropsbr.c +++ b/uip/dropsbr.c @@ -486,7 +486,7 @@ map_name(char *file) register char *cp, *dp; static char buffer[BUFSIZ]; - if ((dp = strchr(cp = r1bindex(file, '/'), '.')) == NULL) + if ((dp = strchr(cp = mhbasename(file), '.')) == NULL) dp = cp + strlen(cp); if (cp == file) snprintf(buffer, sizeof(buffer), ".%.*s%s",