Make rules/README UNIX style EOL.

Merge another branch/2.1.x change.
This commit is contained in:
brectanus 2007-06-14 16:42:04 +00:00
parent d55e023bf7
commit 6569c444d8
2 changed files with 179 additions and 181 deletions

View File

@ -60,7 +60,7 @@ int perform_interception(modsec_rec *msr) {
/* Check for an initial request */ /* Check for an initial request */
if (is_initial_req == 0) { if (is_initial_req != 1) {
if (msr->r->main != NULL) { if (msr->r->main != NULL) {
intreq_text = "Sub-Request: "; intreq_text = "Sub-Request: ";
} }
@ -95,7 +95,7 @@ int perform_interception(modsec_rec *msr) {
* if a nolog action was used or this is not the initial request * if a nolog action was used or this is not the initial request
* to hide the message. * to hide the message.
*/ */
log_level = ((actionset->log != 1) || (is_initial_req == 0)) ? 4 : 1; log_level = ((actionset->log != 1) || (is_initial_req != 1)) ? 4 : 1;
/* Pause the request first (if configured and the initial request). */ /* Pause the request first (if configured and the initial request). */
if (actionset->intercept_pause && (is_initial_req == 1)) { if (actionset->intercept_pause && (is_initial_req == 1)) {

View File

@ -1,5 +1,3 @@
ModSecurity Core Rule Set ModSecurity Core Rule Set
============================== ==============================