From: Jeff Trawick Date: Fri, 27 Sep 2013 17:55:00 +0000 (+0000) Subject: When adding APR_EOL_STR in the error log record before calling X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0195daaf837a1a2aed2c7fed91cbc689f56daf8;p=thirdparty%2Fapache%2Fhttpd.git When adding APR_EOL_STR in the error log record before calling the writer, include that trailer in the length. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527005 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index 127ecee0e65..d2318b81da4 100644 --- a/server/log.c +++ b/server/log.c @@ -1179,6 +1179,7 @@ static void log_error_core(const char *file, int line, int module_index, len = MAX_STRING_LEN - sizeof(APR_EOL_STR); } strcpy(errstr + len, APR_EOL_STR); + len += strlen(APR_EOL_STR); } if (logf) {