From: Piotr Sikora Date: Sat, 7 Dec 2013 00:00:49 +0000 (-0800) Subject: Fixed incorrect ngx_str_set() usage, broken in c82b2e020b9f. X-Git-Tag: release-1.5.8~18 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=19f475276de07e8c72ab4acca56c36ea4afb6572;p=nginx.git Fixed incorrect ngx_str_set() usage, broken in c82b2e020b9f. Found by Coverity Scan CID 1135525. Signed-off-by: Piotr Sikora --- diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c index a0a7715d8..0cfaedead 100644 --- a/src/http/modules/ngx_http_uwsgi_module.c +++ b/src/http/modules/ngx_http_uwsgi_module.c @@ -603,7 +603,7 @@ ngx_http_uwsgi_eval(ngx_http_request_t *r, ngx_http_uwsgi_loc_conf_t * uwcf) url.url.len -= add; } else { - ngx_str_set(&u->schema, (u_char *) "uwsgi://"); + ngx_str_set(&u->schema, "uwsgi://"); } url.no_resolve = 1;