projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic change
[mmh]
/
uip
/
mhlist.c
diff --git
a/uip/mhlist.c
b/uip/mhlist.c
index
9ec8f5d
..
92169a0
100644
(file)
--- a/
uip/mhlist.c
+++ b/
uip/mhlist.c
@@
-131,7
+131,7
@@
main(int argc, char **argv)
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
/* read user profile/context */
context_read();
@@
-268,9
+268,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!");
@@
-291,7
+288,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)