aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-17 09:23:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-17 09:23:23 +0000
commitf42ed05e9cb6125d5eb9183a1218cd38a4082c20 (patch)
tree71c17cb6ca65c6983e5aeed8a33b7d37f89ebe06 /src/http/ngx_http_variables.c
parentd3cdbc85e800c2678fcdfca7b6e4792c59d5838b (diff)
downloadnginx-f42ed05e9cb6125d5eb9183a1218cd38a4082c20.tar.gz
nginx-f42ed05e9cb6125d5eb9183a1218cd38a4082c20.zip
Sun Studio on sparc uses different bit order
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index 0bd6b7ec6..6316b3d58 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -501,7 +501,7 @@ ngx_http_variable_request_set_size(ngx_http_request_t *r,
ssize_t s, *sp;
ngx_str_t val;
- val.len = v->len & 0xffff;
+ val.len = v->len;
val.data = v->data;
s = ngx_parse_size(&val);