The existence of the profile entry Path is already enforced by context_read().
[mmh] / uip / packf.c
index d4df05c..5e17147 100644 (file)
@@ -120,15 +120,12 @@ main(int argc, char **argv)
                free(cp);
        }
 
-       if (!context_find("path"))
-               free(path("./", TFOLDER));
-
        /* default is to pack whole folder */
        if (!msgs.size)
                app_msgarg(&msgs, "all");
 
        if (!folder)
-               folder = getfolder(1);
+               folder = getfolder(FCUR);
        maildir = m_maildir(folder);
 
        if (chdir(maildir) == NOTOK)