X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=sbr%2Ffolder_addmsg.c;h=f03d386d6a748f1d78f40b6d3b31c108800e01a6;hb=40d8dba250400b613688f3c2824ec81a0b76b168;hp=db2b42f3f649ed6e69858aa7cf694cd1ca474c1a;hpb=d76e9388aabc9946124c5d3347ff5c5333bcd7d3;p=mmh diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index db2b42f..f03d386 100644 --- 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