Fixed incorrect ngx_str_set() usage, broken in c82b2e020b9f.

Found by Coverity Scan CID 1135525.

Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
This commit is contained in:
Piotr Sikora 2013-12-06 16:00:49 -08:00
parent eada942342
commit 19f475276d

View File

@ -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;