From rswindell@1:103/705 to CVS commit on Tue Apr 30 01:21:53 2019
src/smblib smbdefs.h 1.113 1.114 smblib.c 1.194 1.195 smbtxt.c 1.41 1.42
Update of /cvsroot/sbbs/src/smblib
In directory cvs:/tmp/cvs-serv15851
Modified Files:
smbdefs.h smblib.c smbtxt.c
Log Message:
When parsing the MIME-encoded plain-text portion of a message body, parse the content-type "charset" parameter value and store in the (new) smbmsg_t.charset. This is a heap-allocated copy of the text from the message body, so it must be freed in smb_freemsgmem(). When NULL, the charset can be assumed to be US-ASCII.