Skip to content

Commit d6bd0ba

Browse files
author
Felipe Zimmerle
committed
Cosmetics: fix #1400 indentation and help message
1 parent 7032230 commit d6bd0ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apache2/msc_logging.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ void sec_audit_logger_json(modsec_rec *msr) {
12781278
yajl_gen_map_close(g); // sanitized args map is finished
12791279
}
12801280
#ifdef LOG_NO_SERVER_CONTEXT
1281-
}
1281+
}
12821282
#endif
12831283

12841284
/* Web application info. */
@@ -2100,10 +2100,10 @@ void sec_audit_logger_native(modsec_rec *msr) {
21002100
}
21012101
}
21022102
#ifdef LOG_NO_SERVER_CONTEXT
2103-
}
2103+
}
21042104
#endif
21052105

2106-
/* Web application info. */
2106+
/* Web application info. */
21072107
if ( ((msr->txcfg->webappid != NULL)&&(strcmp(msr->txcfg->webappid, "default") != 0))
21082108
|| (msr->sessionid != NULL) || (msr->userid != NULL))
21092109
{

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ AC_ARG_ENABLE(stopwatch-logging,
520520
# Disable logging of server context
521521
AC_ARG_ENABLE(server-context-logging,
522522
AS_HELP_STRING([--enable-server-context-logging],
523-
[Enable logging of server info (log producer, sanitized objects, ...) in audit log when log level < 9. This is the default]),
523+
[Enable logging of server info (log producer, sanitized objects, ...) in audit log even when log level < 9. This is the default]),
524524
[
525525
if test "$enableval" != "no"; then
526526
log_server_context=

0 commit comments

Comments
 (0)