From f89aa5c2a21b2a007e87ab14e04a2e9aea45535a Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 27 Sep 2013 17:55:00 +0000 Subject: [PATCH] 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 --- server/log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/log.c b/server/log.c index 127ecee0e6..d2318b81da 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) { -- 2.49.0