diff options
author | Piotr Sikora <piotr@cloudflare.com> | 2013-12-06 16:00:49 -0800 |
---|---|---|
committer | Piotr Sikora <piotr@cloudflare.com> | 2013-12-06 16:00:49 -0800 |
commit | 19f475276de07e8c72ab4acca56c36ea4afb6572 (patch) | |
tree | d04405dab374aeb7e7af097d47a0274102b70b57 /src/http/modules/ngx_http_uwsgi_module.c | |
parent | eada9423429b3e49fa2af580c96f5f261ded4162 (diff) | |
download | nginx-19f475276de07e8c72ab4acca56c36ea4afb6572.tar.gz nginx-19f475276de07e8c72ab4acca56c36ea4afb6572.zip |
Fixed incorrect ngx_str_set() usage, broken in c82b2e020b9f.
Found by Coverity Scan CID 1135525.
Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
Diffstat (limited to 'src/http/modules/ngx_http_uwsgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_uwsgi_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |