From 962e4cc67ff179f7c529d69a73fa7733f3cbb8fb Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Tue, 27 Feb 2018 22:28:28 +1000 Subject: [PATCH] more work on word wrap --- src/www_msgs.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/www_msgs.c b/src/www_msgs.c index b68930d..cfe9671 100644 --- a/src/www_msgs.c +++ b/src/www_msgs.c @@ -707,9 +707,6 @@ static char *www_wordwrap(char *content, int cutoff) { char *ret; int at = 0; int extra = 0; - if (ret == NULL) { - return NULL; - } for (i=0;i