projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76e938
)
Removed unnecessary code.
author
Jon Steinhart
<jon@fourwinds.com>
Tue, 16 Nov 2004 17:37:41 +0000
(17:37 +0000)
committer
Jon Steinhart
<jon@fourwinds.com>
Tue, 16 Nov 2004 17:37:41 +0000
(17:37 +0000)
sbr/folder_addmsg.c
patch
|
blob
|
history
diff --git
a/sbr/folder_addmsg.c
b/sbr/folder_addmsg.c
index
db2b42f
..
f03d386
100644
(file)
--- a/
sbr/folder_addmsg.c
+++ b/
sbr/folder_addmsg.c
@@
-25,7
+25,6
@@
folder_addmsg (struct msgs **mpp, char *msgfile, int selected,
int infd, outfd, linkerr, first_time, msgnum;
char *nmsg, newmsg[BUFSIZ];
char oldmsg[BUFSIZ];
- struct msgs *op;
struct msgs *mp;
struct stat st1, st2;
@@
-143,9
+142,7
@@
folder_addmsg (struct msgs **mpp, char *msgfile, int selected,
if (link (msgfile, newmsg) != -1) {
if (deleting) {
- op = folder_read(getfolder(1));
(void)snprintf(oldmsg, sizeof (oldmsg), "%s/%s", pwd(), msgfile);
- folder_free(op);
(void)ext_hook("ref-hook", oldmsg, newmsg);
}
else