mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Fixes, code cleanups, improvements
This commit is contained in:
@@ -192,7 +192,7 @@ char *get_env_var(request_rec *r, char *name) {
|
||||
* true, the message will be stripped of any trailing newline and any
|
||||
* required bytes will be escaped.
|
||||
*/
|
||||
void internal_log_ex(request_rec *r, directory_config *dcfg, modsec_rec *msr,
|
||||
static void internal_log_ex(request_rec *r, directory_config *dcfg, modsec_rec *msr,
|
||||
int level, int fixup, const char *text, va_list ap)
|
||||
{
|
||||
apr_size_t nbytes, nbytes_written;
|
||||
@@ -279,15 +279,6 @@ void internal_log_ex(request_rec *r, directory_config *dcfg, modsec_rec *msr,
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal log helper function. Use msr_log instead.
|
||||
*/
|
||||
void internal_log(request_rec *r, directory_config *dcfg, modsec_rec *msr,
|
||||
int level, const char *text, va_list ap)
|
||||
{
|
||||
internal_log_ex(r, dcfg, msr, level, 0, text, ap);
|
||||
}
|
||||
|
||||
/**
|
||||
* Logs one message at the given level to the debug log (and to the
|
||||
* Apache error log if the message is important enough.
|
||||
|
Reference in New Issue
Block a user