projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The existence of the profile entry Path is already enforced by context_read().
[mmh]
/
uip
/
mhstore.c
diff --git
a/uip/mhstore.c
b/uip/mhstore.c
index
7be9163
..
4a17547
100644
(file)
--- a/
uip/mhstore.c
+++ b/
uip/mhstore.c
@@
-283,9
+283,6
@@
do_cache:
else
tmp = add(m_maildir(invo_name), NULL);
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!");
if (file && msgs.size)
adios(NULL, "cannot specify msg and file at same time!");
@@
-306,7
+303,7
@@
do_cache:
if (!msgs.size)
app_msgarg(&msgs, "cur");
if (!folder)
if (!msgs.size)
app_msgarg(&msgs, "cur");
if (!folder)
- folder = getfolder(1);
+ folder = getfolder(FCUR);
maildir = m_maildir(folder);
if (chdir(maildir) == NOTOK)
maildir = m_maildir(folder);
if (chdir(maildir) == NOTOK)