Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index 7dc9cc146..e6db0b7c6 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -786,7 +786,7 @@ ngx_http_variable_scheme(ngx_http_request_t *r,
v->valid = 1;
v->no_cachable = 0;
v->not_found = 0;
- v->data = "https";
+ v->data = (u_char *) "https";
return NGX_OK;
}
@@ -797,7 +797,7 @@ ngx_http_variable_scheme(ngx_http_request_t *r,
v->valid = 1;
v->no_cachable = 0;
v->not_found = 0;
- v->data = "http";
+ v->data = (u_char *) "http";
return NGX_OK;
}