mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
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:
parent
eada942342
commit
19f475276d
@ -603,7 +603,7 @@ ngx_http_uwsgi_eval(ngx_http_request_t *r, ngx_http_uwsgi_loc_conf_t * uwcf)
|
|||||||
url.url.len -= add;
|
url.url.len -= add;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ngx_str_set(&u->schema, (u_char *) "uwsgi://");
|
ngx_str_set(&u->schema, "uwsgi://");
|
||||||
}
|
}
|
||||||
|
|
||||||
url.no_resolve = 1;
|
url.no_resolve = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user