cvs: php4 /sapi/thttpd thttpd.c
| From: | Sascha Schumann | Date: | Sun, 22 Apr 2001 14:22:40 +0000 |
| Subject: | cvs: php4 /sapi/thttpd thttpd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5187@lists.php.net to get a copy of this message | ||
sas Sun Apr 22 07:22:40 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
bytes in the conn structure was renamed to bytes_sent.
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.39 php4/sapi/thttpd/thttpd.c:1.40
--- php4/sapi/thttpd/thttpd.c:1.39 Tue Mar 13 09:14:47 2001
+++ php4/sapi/thttpd/thttpd.c Sun Apr 22 07:22:40 2001
@@ -59,7 +59,7 @@
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 @@
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 @@
TLS_FETCH();
TG(hc) = hc;
- hc->bytes = 0;
+ hc->bytes_sent = 0;
thttpd_request_ctor(TLS_C SLS_CC);