From abc9d62b03d92129c86f36f068d368e81f89db4e Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 22 Mar 2017 22:49:52 +0300 Subject: Unified error messages about duplicate directives. --- src/http/ngx_http_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_script.c') diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index c1a0b4c56..cc4d67943 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -220,7 +220,7 @@ ngx_http_set_complex_value_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) cv = (ngx_http_complex_value_t **) (p + cmd->offset); if (*cv != NULL) { - return "duplicate"; + return "is duplicate"; } *cv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); -- cgit