Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcaadf97

Browse files
author
Felipe Zimmerle
committed
Cosmetics: Fix 0x0bdda1 indentation issues
1 parent51f3127 commitcaadf97

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

‎apache2/re.c‎

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,12 +1889,17 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
18891889
}
18901890
}
18911891
elseif (rc<0) {
1892-
constchar*id="",*msg="";
1893-
if (rule->actionset) {
1894-
if (rule->actionset->id)id=rule->actionset->id;
1895-
if (rule->actionset->msg)msg=rule->actionset->msg;
1896-
}
1897-
msr_log(msr,1,"Rule processing failed (id=%s, msg=%s).",id,msg);
1892+
constchar*id="";
1893+
constchar*msg="";
1894+
if (rule->actionset) {
1895+
if (rule->actionset->id) {
1896+
id=rule->actionset->id;
1897+
}
1898+
if (rule->actionset->msg) {
1899+
msg=rule->actionset->msg;
1900+
}
1901+
}
1902+
msr_log(msr,1,"Rule processing failed (id=%s, msg=%s).",id,msg);
18981903

18991904
if (msr->txcfg->reqintercept_oe==1) {
19001905
apr_table_clear(msr->matched_vars);
@@ -1924,12 +1929,17 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
19241929
}
19251930
}
19261931
else {
1927-
constchar*id="",*msg="";
1928-
if (rule->actionset) {
1929-
if (rule->actionset->id)id=rule->actionset->id;
1930-
if (rule->actionset->msg)msg=rule->actionset->msg;
1931-
}
1932-
msr_log(msr,1,"Rule processing failed with unknown return code: %d (id=%s, msg=%s).",rc,id,msg);
1932+
constchar*id="";
1933+
constchar*msg="";
1934+
if (rule->actionset) {
1935+
if (rule->actionset->id) {
1936+
id=rule->actionset->id;
1937+
}
1938+
if (rule->actionset->msg) {
1939+
msg=rule->actionset->msg;
1940+
}
1941+
}
1942+
msr_log(msr,1,"Rule processing failed with unknown return code: %d (id=%s, msg=%s).",rc,id,msg);
19331943
apr_table_clear(msr->matched_vars);
19341944
return-1;
19351945
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp