mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
Cosmetics.
This commit is contained in:
parent
79df789b47
commit
ca2cce23cc
@ -115,7 +115,7 @@ static ngx_int_t ngx_http_image_filter_init(ngx_conf_t *cf);
|
|||||||
static ngx_command_t ngx_http_image_filter_commands[] = {
|
static ngx_command_t ngx_http_image_filter_commands[] = {
|
||||||
|
|
||||||
{ ngx_string("image_filter"),
|
{ ngx_string("image_filter"),
|
||||||
NGX_HTTP_LOC_CONF|NGX_CONF_TAKE13|NGX_CONF_TAKE2,
|
NGX_HTTP_LOC_CONF|NGX_CONF_TAKE123,
|
||||||
ngx_http_image_filter,
|
ngx_http_image_filter,
|
||||||
NGX_HTTP_LOC_CONF_OFFSET,
|
NGX_HTTP_LOC_CONF_OFFSET,
|
||||||
0,
|
0,
|
||||||
@ -1405,7 +1405,7 @@ ngx_http_image_filter_jpeg_quality(ngx_conf_t *cf, ngx_command_t *cmd,
|
|||||||
|
|
||||||
if (n <= 0) {
|
if (n <= 0) {
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"invalid parameter \"%V\"", &value[1]);
|
"invalid value \"%V\"", &value[1]);
|
||||||
return NGX_CONF_ERROR;
|
return NGX_CONF_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1452,7 +1452,7 @@ ngx_http_image_filter_sharpen(ngx_conf_t *cf, ngx_command_t *cmd,
|
|||||||
|
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
|
||||||
"invalid parameter \"%V\"", &value[1]);
|
"invalid value \"%V\"", &value[1]);
|
||||||
return NGX_CONF_ERROR;
|
return NGX_CONF_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user