fix line breaks
This commit is contained in:
parent
47e6468501
commit
78cf7067b6
@ -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));
|
memset(&thedate, 0, sizeof(struct tm));
|
||||||
|
|
||||||
thedate.tm_mday = (qhdr.Msgdate[3] - '0') * 10 + (qhdr.Msgdate[4] - '0');
|
thedate.tm_mday = (qhdr.Msgdate[3] - '0') * 10 + (qhdr.Msgdate[4] - '0');
|
||||||
|
Reference in New Issue
Block a user