httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1068784 - /httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c
Date Wed, 09 Feb 2011 08:21:36 GMT
Author: rpluem
Date: Wed Feb  9 08:21:36 2011
New Revision: 1068784

URL: http://svn.apache.org/viewvc?rev=1068784&view=rev
Log:
* Fix syntax errors and a non existing variable.

Submitted by: NormW <normw gknw.net>
Reviewed by: rpluem


Modified:
    httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c

Modified: httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c?rev=1068784&r1=1068783&r2=1068784&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c (original)
+++ httpd/httpd/trunk/modules/slotmem/mod_slotmem_plain.c Wed Feb  9 08:21:36 2011
@@ -218,7 +218,7 @@ static unsigned int slotmem_num_free_slo
 {
     unsigned int i, counter=0;
     char *inuse = slot->inuse;
-    for (i=0; i<desc.num; i++, inuse++) {
+    for (i = 0; i < slot->num; i++, inuse++) {
         if (!*inuse)
             counter++;
     }
@@ -284,7 +284,7 @@ static const ap_slotmem_provider_t stora
     &slotmem_get,
     &slotmem_put,
     &slotmem_num_slots,
-    &slotmem_num_free_slots
+    &slotmem_num_free_slots,
     &slotmem_slot_size,
     &slotmem_grab,
     &slotmem_release



Mime
View raw message