projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -nomoreproc switch from mhl, show, mhshow.
[mmh]
/
uip
/
mark.c
diff --git
a/uip/mark.c
b/uip/mark.c
index
d56a161
..
79763ff
100644
(file)
--- a/
uip/mark.c
+++ b/
uip/mark.c
@@
-134,9
+134,9
@@
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
} else
- app_msgarg(&msgs, cp);
+ app_msgarg(&msgs, cp);
}
/*
}
/*
@@
-151,13
+151,11
@@
main(int argc, char **argv)
listsw++;
}
listsw++;
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgs.size)
if (!msgs.size)
- app_msgarg(&msgs, listsw ? "all" :"cur");
+ app_msgarg(&msgs, listsw ? seq_all : seq_cur);
if (!folder)
if (!folder)
- folder = getfolder(FCUR);
- maildir = m_maildir(folder);
+ folder = getcurfol();
+ maildir = toabsdir(folder);
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");
if (chdir(maildir) == NOTOK)
adios(maildir, "unable to change directory to");
@@
-223,7
+221,7
@@
main(int argc, char **argv)
}
seq_save(mp); /* synchronize message sequences */
}
seq_save(mp); /* synchronize message sequences */
- context_replace(pfolder, folder); /* update current folder */
+ context_replace(curfolder, folder); /* update current folder */
context_save(); /* save the context file */
folder_free(mp); /* free folder/message structure */
done(0);
context_save(); /* save the context file */
folder_free(mp); /* free folder/message structure */
done(0);