Return-Path: Delivered-To: apmail-httpd-test-cvs-archive@httpd.apache.org Received: (qmail 10882 invoked by uid 500); 6 Dec 2001 18:22:36 -0000 Mailing-List: contact test-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-cvs@httpd.apache.org Received: (qmail 10865 invoked from network); 6 Dec 2001 18:22:36 -0000 Date: 6 Dec 2001 18:03:32 -0000 Message-ID: <20011206180332.45690.qmail@icarus.apache.org> From: aaron@apache.org To: httpd-test-cvs@apache.org Subject: cvs commit: httpd-test/flood flood_net_ssl.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N aaron 01/12/06 10:03:32 Modified: flood flood_net_ssl.c Log: Whoops! Fix backwards CPP logic that would prevent rwlocks from being initialized. Revision Changes Path 1.16 +2 -2 httpd-test/flood/flood_net_ssl.c Index: flood_net_ssl.c =================================================================== RCS file: /home/cvs/httpd-test/flood/flood_net_ssl.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- flood_net_ssl.c 2001/12/04 10:08:30 1.15 +++ flood_net_ssl.c 2001/12/06 18:03:32 1.16 @@ -93,9 +93,9 @@ l = apr_palloc(ssl_pool, sizeof(CRYPTO_dynlock_value)); #ifdef USE_RW_LOCK_FOR_SSL - apr_lock_create(&l->lock, APR_MUTEX, APR_INTRAPROCESS, NULL, ssl_pool); -#else apr_lock_create(&l->lock, APR_READWRITE, APR_INTRAPROCESS, NULL, ssl_pool); +#else + apr_lock_create(&l->lock, APR_MUTEX, APR_INTRAPROCESS, NULL, ssl_pool); #endif return l; }