httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r590038 - in /httpd/httpd/trunk: modules/proxy/mod_proxy_fcgi.c server/core_filters.c
Date Tue, 30 Oct 2007 11:21:12 GMT
Author: jfclere
Date: Tue Oct 30 04:21:11 2007
New Revision: 590038

URL: http://svn.apache.org/viewvc?rev=590038&view=rev
Log:
Otherwise it doesn't compile on HP-UX when using cc.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c?rev=590038&r1=590037&r2=590038&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_fcgi.c Tue Oct 30 04:21:11 2007
@@ -194,7 +194,7 @@
                     n -= vec[i++].iov_len;
                 } else {
                     vec[i].iov_len -= n;
-                    vec[i].iov_base += n;
+                    vec[i].iov_base = (char *) vec[i].iov_base + n;
                     break;
                 }
             }

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core_filters.c?rev=590038&r1=590037&r2=590038&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Tue Oct 30 04:21:11 2007
@@ -712,7 +712,7 @@
                     APR_BUCKET_REMOVE(bucket);
                     apr_bucket_destroy(bucket);
                     vec[i].iov_len -= n;
-                    vec[i].iov_base += n;
+                    vec[i].iov_base = (char *) vec[i].iov_base + n;
                     break;
                 }
             }



Mime
View raw message