]> granicus.if.org Git - apache/commitdiff
Missed the plainmem getter/setter. Caught by R\9fdiger
authorJim Jagielski <jim@apache.org>
Tue, 10 Feb 2009 21:14:47 +0000 (21:14 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 10 Feb 2009 21:14:47 +0000 (21:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@743104 13f79535-47bb-0310-9956-ffa450edef68

modules/mem/mod_plainmem.c
server/slotmem.c

index ca6a2fee33594e0916d11dde7dace095bae4cb95..cf7710bab20841b5e4ac327165277baa844db1f0 100644 (file)
@@ -185,7 +185,9 @@ static const ap_slotmem_storage_method storage = {
     &slotmem_attach,
     &slotmem_mem,
     NULL,
-    NULL
+    NULL,
+    &slotmem_get,
+    &slotmem_put
 };
 
 static int pre_config(apr_pool_t *p, apr_pool_t *plog,
index d31583b33da41221befe7b3a77e40e69e4db047e..af034b82eac90afbce1d1a0f535544790afa20a2 100644 (file)
@@ -79,6 +79,7 @@ AP_DECLARE(apr_status_t) ap_slotmem_get(ap_slotmem_storage_method *sm,
 {
     return (sm->slotmem_get(s, item_id, dest, dest_len));
 }
+
 AP_DECLARE(apr_status_t) ap_slotmem_put(ap_slotmem_storage_method *sm, ap_slotmem_t *s,
                                         unsigned int item_id, unsigned char *src,
                                         apr_size_t src_len)