httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r395180 - /httpd/httpd/trunk/modules/proxy/proxy_util.c
Date Wed, 19 Apr 2006 08:57:01 GMT
Author: martin
Date: Wed Apr 19 01:56:59 2006
New Revision: 395180

URL: http://svn.apache.org/viewcvs?rev=395180&view=rev
Log:
Fix for platforms without threads: inreslist exists only if APR_HAS_THREADS is set

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=395180&r1=395179&r2=395180&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Wed Apr 19 01:56:59 2006
@@ -1567,7 +1567,9 @@
 
     conn->pool   = ctx;
     conn->worker = worker;
+#if APR_HAS_THREADS
     conn->inreslist = 1;
+#endif
     *resource = conn;
 
     return APR_SUCCESS;
@@ -1800,7 +1802,9 @@
     (*conn)->worker = worker;
     (*conn)->close  = 0;
     (*conn)->close_on_recycle = 0;
+#if APR_HAS_THREADS
     (*conn)->inreslist = 0;
+#endif
 
     return OK;
 }



Mime
View raw message