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

Commitfb3bbf3

Browse files
arminabfzimmerle
authored andcommitted
revert error message assignment for older versions
as errstr is only available since version > 2.2
1 parente7f029b commitfb3bbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/mod_security2.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ static void hook_error_log(const char *file, int line, int level, apr_status_t s
11501150
em->line=line;
11511151
em->level=level;
11521152
em->status=status;
1153-
em->message=apr_pstrdup(msr->mp,errstr);
1153+
if (fmt!=NULL)em->message=apr_pstrdup(msr->mp,fmt);
11541154
#endif
11551155
/* Remove \n from the end of the message */
11561156
if (em->message!=NULL) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp