]> git.kaiwu.me - nginx.git/commitdiff
Cosmetics.
authorRuslan Ermilov <ru@nginx.com>
Wed, 23 Nov 2011 10:16:30 +0000 (10:16 +0000)
committerRuslan Ermilov <ru@nginx.com>
Wed, 23 Nov 2011 10:16:30 +0000 (10:16 +0000)
src/http/modules/ngx_http_image_filter_module.c

index 31f26ec50efd86231c3e828bdf9aeec6593cd73a..f0c711e29e998a4e5edf0d970f6ee9ca652a3800 100644 (file)
@@ -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[] = {
 
     { 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_LOC_CONF_OFFSET,
       0,
@@ -1405,7 +1405,7 @@ ngx_http_image_filter_jpeg_quality(ngx_conf_t *cf, ngx_command_t *cmd,
 
         if (n <= 0) {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                               "invalid parameter \"%V\"", &value[1]);
+                               "invalid value \"%V\"", &value[1]);
             return NGX_CONF_ERROR;
         }
 
@@ -1452,7 +1452,7 @@ ngx_http_image_filter_sharpen(ngx_conf_t *cf, ngx_command_t *cmd,
 
         if (n < 0) {
             ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
-                               "invalid parameter \"%V\"", &value[1]);
+                               "invalid value \"%V\"", &value[1]);
             return NGX_CONF_ERROR;
         }