X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=454fa1d43933085ca7179b9333fb7eb13070ec33;hb=5048c3273f8780b3d73e81d0ea5b434f53a83f9f;hp=17ca1ab78b5e330e4dcfb1c71d6254ed22fe632b;hpb=240013872c392fe644bd4f79382d9f5314b4ea60;p=mmh diff --git a/uip/mhtest.c b/uip/mhtest.c index 17ca1ab..454fa1d 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -261,9 +261,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!"); @@ -284,7 +281,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)