projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbe10f1
)
Move chdir() call so -recurse option works again.
author
Eric Schnoebelen
<eric@cirr.com>
Fri, 31 Aug 2012 13:49:37 +0000
(09:49 -0400)
committer
Ken Hornstein
<kenh@pobox.com>
Fri, 31 Aug 2012 13:49:37 +0000
(09:49 -0400)
uip/folder.c
patch
|
blob
|
history
diff --git
a/uip/folder.c
b/uip/folder.c
index
aea20f4
..
4f43b9f
100644
(file)
--- a/
uip/folder.c
+++ b/
uip/folder.c
@@
-341,13
+341,13
@@
main (int argc, char **argv)
/*
* Scan the folders
*/
/*
* Scan the folders
*/
+ /* change directory to base of nmh directory for crawl_folders */
+ if (chdir (nmhdir) == NOTOK)
+ adios (nmhdir, "unable to change directory to");
if (all || ftotal > 0) {
/*
* If no folder is given, do them all
*/
if (all || ftotal > 0) {
/*
* If no folder is given, do them all
*/
- /* change directory to base of nmh directory for crawl_folders */
- if (chdir (nmhdir) == NOTOK)
- adios (nmhdir, "unable to change directory to");
if (!argfolder) {
if (msg)
admonish (NULL, "no folder given for message %s", msg);
if (!argfolder) {
if (msg)
admonish (NULL, "no folder given for message %s", msg);