Fix up line breaks

This commit is contained in:
Andrew Pamment 2018-06-24 11:16:59 +10:00
parent 44909f87ad
commit e5a07a3a25

View File

@ -133,7 +133,7 @@ int process_msgs_dat(char *msgsdat) {
char buffer[PATH_MAX]; char buffer[PATH_MAX];
struct QwkHeader qhdr; struct QwkHeader qhdr;
int msgrecs; int msgrecs;
unsigned char *msgbody; char *msgbody;
char mbuf[129]; char mbuf[129];
int i; int i;
time_t msgdate; time_t msgdate;
@ -174,7 +174,7 @@ int process_msgs_dat(char *msgsdat) {
} }
} }
for (i = 0; i< strlen(msgbody); i++) { for (i = 0; i < strlen(msgbody); i++) {
if (msgbody[i] == '\xe3') { if (msgbody[i] == '\xe3') {
msgbody[i] = '\r'; msgbody[i] = '\r';
} }