Sam Varshavchik writes:
> Laurent Wacrenier writes:
>
>> Hi,
>>
>> When I try to send mail with attachment directly with "Send" button
>> in the "Attachements" template, sqwebmail dumps core.
>> My sqwebmail version is 1.2.0.
>>
>> I guess it's because filter_start() is not called before
>> filter_end().
>
> Almost. filter_end() shouldn't be called anyway. Just remove that
> function call. It's bogus.
... and here's the one-line patch.
--
Sam
Index: sqwebmail/newmsg_create.c
===================================================================
RCS file: /cvsroot/courier/courier/webmail/newmsg_create.c,v
retrieving revision 1.36
diff -U3 -r1.36 newmsg_create.c
--- sqwebmail/newmsg_create.c 2000/12/31 19:22:20 1.36
+++ sqwebmail/newmsg_create.c 2001/01/16 22:58:08
@@ -825,7 +825,6 @@
filter(buf, n);
fclose(fp);
}
- filter_end();
}
/* ---------------------------------------------------------------------- */