X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhshow.c;h=42e0ee06867d8a99fcf1d974d79eec250b9d1f46;hb=70b12e63eda23f816d3c5330d2df4fb6c5b66a58;hp=ba5c037e18ab8403a230b73733fd5af17c6ec1e2;hpb=240013872c392fe644bd4f79382d9f5314b4ea60;p=mmh diff --git a/uip/mhshow.c b/uip/mhshow.c index ba5c037..42e0ee0 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -340,9 +340,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!"); @@ -363,7 +360,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)