summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2011-02-09 09:21:36 +0100
committerRuediger Pluem <rpluem@apache.org>2011-02-09 09:21:36 +0100
commit820597e621beec0f79fe50994c05ccd22a3dd340 (patch)
tree00663f1124f76129e3b978e746ef41554ce12238 /modules
parent* Make module compile by fixing some typos. (diff)
downloadapache2-820597e621beec0f79fe50994c05ccd22a3dd340.tar.xz
apache2-820597e621beec0f79fe50994c05ccd22a3dd340.zip
* Fix syntax errors and a non existing variable.
Submitted by: NormW <normw gknw.net> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/slotmem/mod_slotmem_plain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/slotmem/mod_slotmem_plain.c b/modules/slotmem/mod_slotmem_plain.c
index 71cdd654b9..2bf832922f 100644
--- a/modules/slotmem/mod_slotmem_plain.c
+++ b/modules/slotmem/mod_slotmem_plain.c
@@ -218,7 +218,7 @@ static unsigned int slotmem_num_free_slots(ap_slotmem_instance_t *slot)
{
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 storage = {
&slotmem_get,
&slotmem_put,
&slotmem_num_slots,
- &slotmem_num_free_slots
+ &slotmem_num_free_slots,
&slotmem_slot_size,
&slotmem_grab,
&slotmem_release