Skip to content

Commit 89764f1

Browse files
Marc SternFelipe Zimmerle
Marc Stern
authored and
Felipe Zimmerle
committed
Fixed typos: LOG_NO_STOPWATCH instead of DLOG_NO_STOPWATCH $log_server_context instead of $log_server_context
1 parent 2ab08a6 commit 89764f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apache2/msc_logging.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,7 @@ void sec_audit_logger_json(modsec_rec *msr) {
11651165

11661166

11671167
/* Stopwatch2 */
1168-
#ifdef DLOG_NO_STOPWATCH
1168+
#ifdef LOG_NO_STOPWATCH
11691169
if (msr->txcfg->debuglog_level >= 9)
11701170
#endif
11711171
format_performance_variables_json(msr, g);
@@ -1998,7 +1998,7 @@ void sec_audit_logger_native(modsec_rec *msr) {
19981998
}
19991999

20002000
/* Stopwatch; left in for compatibility reasons */
2001-
#ifdef DLOG_NO_STOPWATCH
2001+
#ifdef LOG_NO_STOPWATCH
20022002
if (msr->txcfg->debuglog_level >= 9) {
20032003
#endif
20042004
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) {
20132013
"; %s\n", msr->request_time, (now - msr->request_time), perf_all);
20142014
sec_auditlog_write(msr, text, strlen(text));
20152015
}
2016-
#ifdef DLOG_NO_STOPWATCH
2016+
#ifdef LOG_NO_STOPWATCH
20172017
}
20182018
#endif
20192019

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ else
812812
fi
813813
fi
814814

815-
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_contex $collection_global_lock"
815+
MODSEC_EXTRA_CFLAGS="$pcre_study $pcre_match_limit $pcre_match_limit_recursion $pcre_jit $request_early $htaccess_config $lua_cache $debug_conf $debug_cache $debug_acmp $debug_mem $perf_meas $modsec_api $cpu_type $unique_id $log_filename $log_server $log_collection_delete_problem $log_dechunk $log_stopwatch $log_handler $log_server_context $collection_global_lock"
816816

817817
APXS_WRAPPER=build/apxs-wrapper
818818
APXS_EXTRA_CFLAGS=""

0 commit comments

Comments
 (0)