From 5fed94b8e6a854d08be4ff90bf38f6644a9b5524 Mon Sep 17 00:00:00 2001 From: b1v1r Date: Fri, 5 Feb 2010 18:12:07 +0000 Subject: [PATCH] Code/doc cleanup. --- apache2/re.c | 3 +-- doc/modsecurity2-apache-reference.xml | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apache2/re.c b/apache2/re.c index fb1585dd..c6d77fba 100644 --- a/apache2/re.c +++ b/apache2/re.c @@ -1050,8 +1050,7 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr) } } } - else - if (rc == RULE_MATCH) { + else if (rc == RULE_MATCH) { if (msr->rule_was_intercepted) { /* If the transaction was intercepted by this rule we will * go back. Do note that we are relying on the diff --git a/doc/modsecurity2-apache-reference.xml b/doc/modsecurity2-apache-reference.xml index e9087117..54faf0ea 100644 --- a/doc/modsecurity2-apache-reference.xml +++ b/doc/modsecurity2-apache-reference.xml @@ -308,12 +308,12 @@ http://curl.haxx.se/libcurl/ + Many have had issues with libcurl linked with the GnuTLS - library for SSL/TLS support. It is recommended that the - openssl library be used for SSL/TLS support in libcurl. + library for SSL/TLS support. It is recommended that the openssl + library be used for SSL/TLS support in libcurl. - @@ -4888,7 +4888,7 @@ setvar:session.suspicious=1,expirevar:session.suspicious=3600 - 700,000-799,999; reserved for Ivan Ristic. + 700,000-799,999; reserved for Ivan Ristic.