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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]