diff src/http/modules/ngx_http_uwsgi_module.c @ 5462:58716fd3bd2d

Fixed incorrect ngx_str_set() usage, broken in c82b2e020b9f. Found by Coverity Scan CID 1135525. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>
author Piotr Sikora <piotr@cloudflare.com>
date Fri, 06 Dec 2013 16:00:49 -0800
parents 4a71ef1aa36d
children f6258a7092e4
line wrap: on
line diff
--- 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 *
         url.url.len -= add;
 
     } else {
-        ngx_str_set(&u->schema, (u_char *) "uwsgi://");
+        ngx_str_set(&u->schema, "uwsgi://");
     }
 
     url.no_resolve = 1;