Skip to content

Commit 3e9e4b3

Browse files
author
Felipe Zimmerle
committed
Cosmetics changes top of #1402
1 parent 7246998 commit 3e9e4b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apache2/msc_logging.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
19931993

19941994
/* Stopwatch; left in for compatibility reasons */
19951995
#ifdef DLOG_NO_STOPWATCH
1996-
if (msr->txcfg->debuglog_level >= 9) {
1996+
if (msr->txcfg->debuglog_level >= 9) {
19971997
#endif
19981998
text = apr_psprintf(msr->mp, "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n",
19991999
msr->request_time, (now - msr->request_time));
@@ -2008,7 +2008,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
20082008
sec_auditlog_write(msr, text, strlen(text));
20092009
}
20102010
#ifdef DLOG_NO_STOPWATCH
2011-
}
2011+
}
20122012
#endif
20132013

20142014
/* Our response body does not contain chunks */

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ AC_ARG_ENABLE(dechunk-logging,
505505
# Disable logging of stopwatches
506506
AC_ARG_ENABLE(stopwatch-logging,
507507
AS_HELP_STRING([--enable-stopwatch-logging],
508-
[Enable logging of stopwatches in audit log when log level < 9. This is the default]),
508+
[Enable logging of stopwatches even when log level is < 9. This is the default]),
509509
[
510510
if test "$enableval" != "no"; then
511511
log_stopwatch=

0 commit comments

Comments
 (0)