git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88844
13f79535-47bb-0310-9956-
ffa450edef68
apr_pool_t *p = r->pool;
apr_socket_t *sock;
char buffer[HUGE_STRING_LEN];
- int nbytes, i, err;
+ int i, err;
+ apr_size_t nbytes;
#if 0
apr_socket_t *client_sock = NULL;
while(nbytes)
{
i = nbytes;
- if (apr_send(r->connection->client_socket, buffer + o, &i) != APR_SUCCESS)
+ if (apr_send(r->connection->client_socket, buffer + o, &nbytes) != APR_SUCCESS)
break;
o += i;
nbytes -= i;
while(nbytes)
{
i = nbytes;
- if (apr_send(sock, buffer + o, &i) != APR_SUCCESS)
+ if (apr_send(sock, buffer + o, &nbytes) != APR_SUCCESS)
break;
o += i;
nbytes -= i;