git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86311
13f79535-47bb-0310-9956-
ffa450edef68
request_rec *r = f->r;
apr_pool_t *p = r->pool;
apr_status_t rv;
- apr_ssize_t bytes_sent = 0, len = 0, written;
+ apr_ssize_t bytes_sent = 0, len = 0;
ap_bucket *e;
break;
default:
{
- char *str;
- apr_size_t n;
+ const char *str;
+ apr_ssize_t n;
rv = e->read(e, &str, &n, 0);
if (n) {
len += n;
}
iov = (struct iovec *) apr_push_array(vec_trailers);
}
- iov->iov_base = str;
+ iov->iov_base = (char *)str;
iov->iov_len = n;
}
break;