Mercurial > hg > nginx
comparison src/http/modules/ngx_http_log_module.c @ 3991:509db6c0c5dc
removal of error message about %name log_format parameters,
they have been deleted long ago in 0.5.0-RELEASE
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 03 Aug 2011 16:01:36 +0000 |
parents | eae4a59ae59a |
children | 59b99f217c6d |
comparison
equal
deleted
inserted
replaced
3990:3165250f6c16 | 3991:509db6c0c5dc |
---|---|
1053 | 1053 |
1054 value = args->elts; | 1054 value = args->elts; |
1055 | 1055 |
1056 for ( /* void */ ; s < args->nelts; s++) { | 1056 for ( /* void */ ; s < args->nelts; s++) { |
1057 | 1057 |
1058 for (i = 0; i < value[s].len; i++) { | |
1059 if (value[s].data[i] != '%') { | |
1060 continue; | |
1061 } | |
1062 | |
1063 ch = value[s].data[i + 1]; | |
1064 | |
1065 if ((ch >= 'A' && ch <= 'Z') | |
1066 || (ch >= 'a' && ch <= 'z') | |
1067 || ch == '{') | |
1068 { | |
1069 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | |
1070 "the parameters in the \"%%name\" form are not supported, " | |
1071 "use the \"$variable\" instead"); | |
1072 | |
1073 return NGX_CONF_ERROR; | |
1074 } | |
1075 } | |
1076 | |
1077 i = 0; | 1058 i = 0; |
1078 | 1059 |
1079 while (i < value[s].len) { | 1060 while (i < value[s].len) { |
1080 | 1061 |
1081 op = ngx_array_push(ops); | 1062 op = ngx_array_push(ops); |