Fixed typos: LOG_NO_STOPWATCH instead of DLOG_NO_STOPWATCH $log_server_context instead of $log_server_context

This commit is contained in:
Marc Stern
2017-07-24 15:10:29 +02:00
committed by Felipe Zimmerle
parent 2ab08a625e
commit 89764f12b0
2 changed files with 4 additions and 4 deletions

View File

@@ -1165,7 +1165,7 @@ void sec_audit_logger_json(modsec_rec *msr) {
/* Stopwatch2 */
#ifdef DLOG_NO_STOPWATCH
#ifdef LOG_NO_STOPWATCH
if (msr->txcfg->debuglog_level >= 9)
#endif
format_performance_variables_json(msr, g);
@@ -1998,7 +1998,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
}
/* Stopwatch; left in for compatibility reasons */
#ifdef DLOG_NO_STOPWATCH
#ifdef LOG_NO_STOPWATCH
if (msr->txcfg->debuglog_level >= 9) {
#endif
text = apr_psprintf(msr->mp, "Stopwatch: %" APR_TIME_T_FMT " %" APR_TIME_T_FMT " (- - -)\n",
@@ -2013,7 +2013,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
"; %s\n", msr->request_time, (now - msr->request_time), perf_all);
sec_auditlog_write(msr, text, strlen(text));
}
#ifdef DLOG_NO_STOPWATCH
#ifdef LOG_NO_STOPWATCH
}
#endif