Cosmetic change
[mmh] / uip / mhlist.c
index f33e39b..92169a0 100644 (file)
@@ -268,9 +268,6 @@ do_cache:
        else
                tmp = add(m_maildir(invo_name), NULL);
 
-       if (!context_find("path"))
-               free(path("./", TFOLDER));
-
        if (file && msgs.size)
                adios(NULL, "cannot specify msg and file at same time!");
 
@@ -291,7 +288,7 @@ do_cache:
                if (!msgs.size)
                        app_msgarg(&msgs, "cur");
                if (!folder)
-                       folder = getfolder(1);
+                       folder = getfolder(FCUR);
                maildir = m_maildir(folder);
 
                if (chdir(maildir) == NOTOK)