Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / sendsbr.c
index c7f4d44..4670345 100644 (file)
@@ -709,7 +709,7 @@ alert(char *file, int out)
                        snprintf(buf, sizeof(buf), "send failed on %s",
                                        forwsw ? "enclosed draft" : file);
 
-                       execlp(mailproc, r1bindex(mailproc, '/'),
+                       execlp(mailproc, mhbasename(mailproc),
                                        getusername(), "-subject", buf, NULL);
                        fprintf(stderr, "unable to exec ");
                        perror(mailproc);