From 0a583eaa84ddd5ab84ed7787db6598510f0f7511 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 29 Oct 2018 17:04:10 +1000 Subject: [PATCH] Possible fix for website crashes --- src/www_msgs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www_msgs.c b/src/www_msgs.c index cc099fc..8778594 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -828,7 +828,7 @@ static char *www_wordwrap(char *content, int cutoff) { at = 0; len = strlen(content); - for (i = 0; i < len - 1; i++) { + for (i = 0; i < len - 2; i++) { if (content[i] == '>' && line_count < 4) { quote_line = 1; }