[nginx] svn commit: r4308 - trunk/src/http/modules

ru at nginx.com ru at nginx.com
Wed Nov 23 10:16:30 UTC 2011


Author: ru
Date: 2011-11-23 10:16:30 +0000 (Wed, 23 Nov 2011)
New Revision: 4308

Log:
Cosmetics.


Modified:
   trunk/src/http/modules/ngx_http_image_filter_module.c

Modified: trunk/src/http/modules/ngx_http_image_filter_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_image_filter_module.c	2011-11-23 07:22:15 UTC (rev 4307)
+++ trunk/src/http/modules/ngx_http_image_filter_module.c	2011-11-23 10:16:30 UTC (rev 4308)
@@ -115,7 +115,7 @@
 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 @@
 
         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 @@
 
         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;
         }
 



More information about the nginx-devel mailing list