projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
150eda9
)
Fixed wrong directory for hook when refiling with -src option.
author
Jon Steinhart
<jon@fourwinds.com>
Tue, 16 Nov 2004 17:28:33 +0000
(17:28 +0000)
committer
Jon Steinhart
<jon@fourwinds.com>
Tue, 16 Nov 2004 17:28:33 +0000
(17:28 +0000)
sbr/folder_addmsg.c
patch
|
blob
|
history
diff --git
a/sbr/folder_addmsg.c
b/sbr/folder_addmsg.c
index
b3bc891
..
db2b42f
100644
(file)
--- a/
sbr/folder_addmsg.c
+++ b/
sbr/folder_addmsg.c
@@
-144,7
+144,7
@@
folder_addmsg (struct msgs **mpp, char *msgfile, int selected,
if (deleting) {
op = folder_read(getfolder(1));
- (void)snprintf(oldmsg, sizeof (oldmsg), "%s/%s", op->foldpath, msgfile);
+ (void)snprintf(oldmsg, sizeof (oldmsg), "%s/%s", pwd(), msgfile);
folder_free(op);
(void)ext_hook("ref-hook", oldmsg, newmsg);
}