diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
commit | 10a543a810ac78eb5d754302b001debf9cd420c4 (patch) | |
tree | a4a4f43835bed4549007b82db516d460fc86c555 /src/http/ngx_http_request_body.c | |
parent | 5596ede94ed311bb9d16ee11f6f68c97eb46d836 (diff) | |
download | nginx-10a543a810ac78eb5d754302b001debf9cd420c4.tar.gz nginx-10a543a810ac78eb5d754302b001debf9cd420c4.zip |
nginx-0.0.2-2004-03-16-10:10:12 import
Diffstat (limited to 'src/http/ngx_http_request_body.c')
-rw-r--r-- | src/http/ngx_http_request_body.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index a337c3a95..404e45f0d 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -8,8 +8,8 @@ static void ngx_http_read_client_request_body_handler(ngx_event_t *rev); -int ngx_http_read_client_request_body(ngx_http_request_t *r, - int request_buffer_size) +ngx_int_t ngx_http_read_client_request_body(ngx_http_request_t *r, + size_t request_buffer_size) { ssize_t size; ngx_hunk_t *h; @@ -73,7 +73,8 @@ int ngx_http_read_client_request_body(ngx_http_request_t *r, static void ngx_http_read_client_request_body_handler(ngx_event_t *rev) { - ssize_t n, size; + size_t size; + ssize_t n; ngx_hunk_t *h; ngx_connection_t *c; ngx_http_request_t *r; |