projects
/
nginx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upstream nginx-0.7.41
[nginx.git]
/
nginx
/
src
/
http
/
ngx_http_request.c
diff --git
a/nginx/src/http/ngx_http_request.c
b/nginx/src/http/ngx_http_request.c
index
95a392a
..
c018d68
100644
(file)
--- a/
nginx/src/http/ngx_http_request.c
+++ b/
nginx/src/http/ngx_http_request.c
@@
-1662,9
+1662,9
@@
ngx_http_find_virtual_server(ngx_http_request_t *r, u_char *host, size_t len)
if (sn[i].captures && r->captures == NULL) {
if (sn[i].captures && r->captures == NULL) {
- ncaptures = (NGX_HTTP_MAX_CAPTURES + 1) * 3
* sizeof(int)
;
+ ncaptures = (NGX_HTTP_MAX_CAPTURES + 1) * 3;
- r->captures = ngx_palloc(r->pool, ncaptures);
+ r->captures = ngx_palloc(r->pool, ncaptures
* sizeof(int)
);
if (r->captures == NULL) {
return NGX_ERROR;
}
if (r->captures == NULL) {
return NGX_ERROR;
}