mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +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;
|
||||
|
||||
} else {
|
||||
ngx_str_set(&u->schema, (u_char *) "uwsgi://");
|
||||
ngx_str_set(&u->schema, "uwsgi://");
|
||||
}
|
||||
|
||||
url.no_resolve = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user