httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r376297 - /httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
Date Thu, 09 Feb 2006 14:07:06 GMT
Author: jim
Date: Thu Feb  9 06:07:03 2006
New Revision: 376297

URL: http://svn.apache.org/viewcvs?rev=376297&view=rev
Log:
Minor style change: IMO checking for APR_SUCCESS is
just better and more consistant.

Modified:
    httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c

Modified: httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c?rev=376297&r1=376296&r2=376297&view=diff
==============================================================================
--- httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/branches/fcgi-proxy-dev/modules/proxy/mod_proxy_fcgi.c Thu Feb  9 06:07:03
2006
@@ -150,7 +150,7 @@
 {
     apr_status_t rv = apr_socket_sendv(conn->sock, vec, nvec, len);
 
-    if (! rv) {
+    if (rv == APR_SUCCESS) {
         conn->worker->s->transferred += *len;
     }
 
@@ -164,7 +164,7 @@
 {
     apr_status_t rv = apr_socket_recv(conn->sock, buffer, buflen);
 
-    if (! rv) {
+    if (rv == APR_SUCCESS) {
         conn->worker->s->read += *buflen;
     }
 



Mime
View raw message