Possible fix for website crashes

This commit is contained in:
Andrew Pamment 2018-10-29 17:04:10 +10:00
parent 13a7404194
commit 0a583eaa84

View File

@ -828,7 +828,7 @@ static char *www_wordwrap(char *content, int cutoff) {
at = 0; at = 0;
len = strlen(content); len = strlen(content);
for (i = 0; i < len - 1; i++) { for (i = 0; i < len - 2; i++) {
if (content[i] == '>' && line_count < 4) { if (content[i] == '>' && line_count < 4) {
quote_line = 1; quote_line = 1;
} }