From aa7d9f18ca61e2fb1998bcaedee9ecdfa93a0728 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sat, 15 Feb 2014 22:27:58 -0700 Subject: * Fixes to documentation to update old washington.edu/alpine site for patches.freeiz.com/alpine/. Work in progress. * prototype function tigetstr in pico/osdep/terminal.c * folders encoded in modified utf7 are transformed their names to a human readable utf8. * New attempt to fix smime support in Alpine. Messages sent by alpine with or without attachments should validate in all servers and in all folder formats. --- pith/send.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pith/send.c') diff --git a/pith/send.c b/pith/send.c index 4af84ebe..3f21f1f3 100644 --- a/pith/send.c +++ b/pith/send.c @@ -4287,6 +4287,11 @@ pine_rfc822_output_body(struct mail_bodystruct *body, soutr_t f, void *s) /* output trailing cookie */ snprintf (t = tmp, sizeof(tmp), "--%s--",cookie); tmp[sizeof(tmp)-1] = '\0'; +#ifdef SMIME + if(ps_global->smime && ps_global->smime->do_sign + && strlen(tmp) < sizeof(tmp)-2) + strncat(tmp, "\r\n", 2); +#endif if(lmc.so && !lmc.all_written){ so_puts(lmc.so, t); so_puts(lmc.so, "\015\012"); -- cgit v1.2.3-54-g00ecf