projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/pfolder/curfolder/g
[mmh]
/
uip
/
burst.c
diff --git
a/uip/burst.c
b/uip/burst.c
index
032c5b5
..
ec50708
100644
(file)
--- a/
uip/burst.c
+++ b/
uip/burst.c
@@
-107,19
+107,17
@@
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 {
msgs[msgp++] = cp;
}
}
} else {
msgs[msgp++] = cp;
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (!msgp)
msgs[msgp++] = "cur";
if (!folder)
if (!msgp)
msgs[msgp++] = "cur";
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");
@@
-164,7
+162,7
@@
main(int argc, char **argv)
}
free((char *) smsgs);
}
free((char *) smsgs);
- context_replace(pfolder, folder); /* update current folder */
+ context_replace(curfolder, folder); /* update current folder */
/*
** If -inplace is given, then the first message burst becomes
/*
** If -inplace is given, then the first message burst becomes