Cosmetic change
[mmh] / uip / mhbuild.c
index e1ca05f..5055265 100644 (file)
@@ -130,7 +130,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();
@@ -295,9 +295,6 @@ main(int argc, char **argv)
        else
                tmp = add(m_maildir(invo_name), NULL);
 
-       if (!context_find("path"))
-               free(path("./", TFOLDER));
-
        /* Check if we have a file to process */
        if (!compfile)
                adios(NULL, "need to specify a %s composition file",