Cosmetic change
[mmh] / uip / send.c
index 2416baf..8163385 100644 (file)
@@ -118,7 +118,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();
@@ -257,9 +257,6 @@ main(int argc, char **argv)
                }
        }
 
-       if (!context_find("path"))
-               free(path("./", TFOLDER));
-
        if (!msgp)
                msgs[msgp++] = "cur";
        maildir = m_maildir(draftfolder);
@@ -361,7 +358,7 @@ main(int argc, char **argv)
                push();
 
        status = 0;
-       vec[0] = r1bindex(postproc, '/');
+       vec[0] = mhbasename(postproc);
        closefds(3);
 
        for (msgnum = 0; msgnum < msgp; msgnum++) {