From: Jim Jagielski Date: Tue, 10 Feb 2009 21:14:47 +0000 (+0000) Subject: Missed the plainmem getter/setter. Caught by RŸdiger X-Git-Tag: 2.3.2~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2497d57fede40eee83dabb1ec21659f1d343552d;p=thirdparty%2Fapache%2Fhttpd.git Missed the plainmem getter/setter. Caught by RŸdiger git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@743104 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mem/mod_plainmem.c b/modules/mem/mod_plainmem.c index ca6a2fee335..cf7710bab20 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 d31583b33da..af034b82eac 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)