From: Igor Sysoev Date: Thu, 17 Dec 2009 12:45:13 +0000 (+0000) Subject: test degradation parameters X-Git-Tag: release-0.8.31~13 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=8817113d95f8cb937dddcd2cd60f43c0a63398ff;p=nginx.git test degradation parameters --- diff --git a/src/http/modules/ngx_http_degradation_module.c b/src/http/modules/ngx_http_degradation_module.c index 53fde211f..b221f2215 100644 --- a/src/http/modules/ngx_http_degradation_module.c +++ b/src/http/modules/ngx_http_degradation_module.c @@ -198,9 +198,14 @@ ngx_http_degradation(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) "invalid sbrk size \"%V\"", &value[1]); return NGX_CONF_ERROR; } + + return NGX_CONF_OK; } - return NGX_CONF_OK; + ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, + "invalid parameter \"%V\"", &value[1]); + + return NGX_CONF_ERROR; }