diff options
| author | Sascha Schumann <sas@php.net> | 2001-04-22 14:22:40 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2001-04-22 14:22:40 +0000 |
| commit | 0fc2ca64bff8f1ff2c990a4861ccca7ef68cdf71 (patch) | |
| tree | 9ed2feac7dd8d7b84e95f2c0a4f3e9189667bea6 /sapi | |
| parent | 38e55b3249edca6fd60e68b0a9107ceb78f863d5 (diff) | |
| download | php-git-0fc2ca64bff8f1ff2c990a4861ccca7ef68cdf71.tar.gz | |
bytes in the conn structure was renamed to bytes_sent.
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/thttpd/thttpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c index a99526adc4..0d0bb5b78d 100644 --- a/sapi/thttpd/thttpd.c +++ b/sapi/thttpd/thttpd.c @@ -59,7 +59,7 @@ static int sapi_thttpd_ub_write(const char *str, uint str_length) if (n <= 0) return n; - TG(hc)->bytes += n; + TG(hc)->bytes_sent += n; str += n; sent += n; str_length -= n; @@ -86,7 +86,7 @@ static int sapi_thttpd_send_headers(sapi_headers_struct *sapi_headers SLS_DC) vec[n].iov_base = buf; vec[n++].iov_len = len; TG(hc)->status = SG(sapi_headers).http_response_code; - TG(hc)->bytes += len; + TG(hc)->bytes_sent += len; } h = zend_llist_get_first_ex(&sapi_headers->headers, &pos); @@ -309,7 +309,7 @@ off_t thttpd_php_request(httpd_conn *hc) TLS_FETCH(); TG(hc) = hc; - hc->bytes = 0; + hc->bytes_sent = 0; thttpd_request_ctor(TLS_C SLS_CC); |
