fix line breaks

This commit is contained in:
Andrew Pamment 2018-06-24 10:59:11 +10:00
parent 47e6468501
commit 78cf7067b6

View File

@ -174,6 +174,12 @@ int process_msgs_dat(char *msgsdat) {
}
}
for (i = 0; i< strlen(msgbody); i++) {
if (msgbody[i] = '\xe3') {
msgbody[i] = '\r';
}
}
memset(&thedate, 0, sizeof(struct tm));
thedate.tm_mday = (qhdr.Msgdate[3] - '0') * 10 + (qhdr.Msgdate[4] - '0');