projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduced FDEF and FCUR for speaking arguments to getfolder().
[mmh]
/
sbr
/
path.c
diff --git
a/sbr/path.c
b/sbr/path.c
index
8802eaa
..
b3a8fff
100644
(file)
--- a/
sbr/path.c
+++ b/
sbr/path.c
@@
-101,7
+101,8
@@
expath(char *name, int type)
if (type == TSUBCWF) {
/* @folder to +folder */
if (type == TSUBCWF) {
/* @folder to +folder */
- snprintf(buffer, sizeof(buffer), "%s/%s", getfolder(1), name);
+ snprintf(buffer, sizeof(buffer), "%s/%s",
+ getfolder(FCUR), name);
name = m_mailpath(buffer);
packpath(name);
snprintf(buffer, sizeof(buffer), "%s/", m_maildir(""));
name = m_mailpath(buffer);
packpath(name);
snprintf(buffer, sizeof(buffer), "%s/", m_maildir(""));