summaryrefslogtreecommitdiffstats
path: root/server/log.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-09-27 19:55:00 +0200
committerJeff Trawick <trawick@apache.org>2013-09-27 19:55:00 +0200
commitf89aa5c2a21b2a007e87ab14e04a2e9aea45535a (patch)
treec8f72b1b6c34f171af6f8d75eb2ab70edad65878 /server/log.c
parentError log providers need to be able to trigger a startup error from their (diff)
downloadapache2-f89aa5c2a21b2a007e87ab14e04a2e9aea45535a.tar.xz
apache2-f89aa5c2a21b2a007e87ab14e04a2e9aea45535a.zip
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
Diffstat (limited to 'server/log.c')
-rw-r--r--server/log.c1
1 files changed, 1 insertions, 0 deletions
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) {