• src/sbbs3/getmsg.cpp js_msgbase.c text_defaults.c

    From rswindell@VERT to CVS commit on Saturday, May 04, 2019 14:02:38
    src/sbbs3 getmsg.cpp 1.87 1.88 js_msgbase.c 1.247 1.248 text_defaults.c 1.60 1.61
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv14556

    Modified Files:
    getmsg.cpp js_msgbase.c text_defaults.c
    Log Message:
    smb_getplaintext and smb_getmsgtxt(...,GETMSGTXT_PLAIN) will now fall-back
    to a text/html part of a multi-part MIME encoded message if no text/plain part exists.
    Changed smbmsg_t.charset to smbmsg_t.text_charset.
    Added smbmsg_t.text_subtype (e.g. "plain" or "html").
    Fixed issue with parsing parsed plain-text when the charset was the last element of the MIME-part header.
    MIMEDecodedPlainTextFmt text.dat line now includes the text sub-type arg

    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net