From 78cf7067b6ea4c0d5d78491c42e236778455d546 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 24 Jun 2018 10:59:11 +1000 Subject: [PATCH] fix line breaks --- utils/qwknet/qwktoss.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/qwknet/qwktoss.c b/utils/qwknet/qwktoss.c index cbe8bce..0415aca 100644 --- a/utils/qwknet/qwktoss.c +++ b/utils/qwknet/qwktoss.c @@ -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');