From 2497d57fede40eee83dabb1ec21659f1d343552d Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Tue, 10 Feb 2009 21:14:47 +0000 Subject: [PATCH] =?utf8?q?Missed=20the=20plainmem=20getter/setter.=20Caugh?= =?utf8?q?t=20by=20R=C2=9Fdiger?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@743104 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mem/mod_plainmem.c | 4 +++- server/slotmem.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/mem/mod_plainmem.c b/modules/mem/mod_plainmem.c index ca6a2fee33..cf7710bab2 100644 --- a/modules/mem/mod_plainmem.c +++ b/modules/mem/mod_plainmem.c @@ -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, diff --git a/server/slotmem.c b/server/slotmem.c index d31583b33d..af034b82ea 100644 --- a/server/slotmem.c +++ b/server/slotmem.c @@ -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) -- 2.40.0