projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We don't want to use copy() anymore; but kept it for concat() only
[mmh]
/
uip
/
rcvstore.c
diff --git
a/uip/rcvstore.c
b/uip/rcvstore.c
index
868ed47
..
99ec48c
100644
(file)
--- a/
uip/rcvstore.c
+++ b/
uip/rcvstore.c
@@
-63,7
+63,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();
@@
-135,7
+135,7
@@
main(int argc, char **argv)
if (folder)
adios(NULL, "only one folder at a time!");
else
if (folder)
adios(NULL, "only one folder at a time!");
else
- folder = pluspath(cp);
+ folder = getcpy(expandfol(cp));
} else {
adios(NULL, "usage: %s [+folder] [switches]",
invo_name);
} else {
adios(NULL, "usage: %s [+folder] [switches]",
invo_name);
@@
-144,13
+144,10
@@
main(int argc, char **argv)
seqs[seqp] = NULL; /* NULL terminate list of sequences */
seqs[seqp] = NULL; /* NULL terminate list of sequences */
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
/* if no folder is given, use default folder */
if (!folder)
/* if no folder is given, use default folder */
if (!folder)
- folder = getfolder(0);
- maildir = m_maildir(folder);
+ folder = getdeffol();
+ maildir = toabsdir(folder);
/* check if folder exists */
if (stat(maildir, &st) == NOTOK) {
/* check if folder exists */
if (stat(maildir, &st) == NOTOK) {