You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2009/02/10 22:14:48 UTC
svn commit: r743104 - in /httpd/httpd/trunk: modules/mem/mod_plainmem.c
server/slotmem.c
Author: jim
Date: Tue Feb 10 21:14:47 2009
New Revision: 743104
URL: http://svn.apache.org/viewvc?rev=743104&view=rev
Log:
Missed the plainmem getter/setter. Caught by Rdiger
Modified:
httpd/httpd/trunk/modules/mem/mod_plainmem.c
httpd/httpd/trunk/server/slotmem.c
Modified: httpd/httpd/trunk/modules/mem/mod_plainmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/mod_plainmem.c?rev=743104&r1=743103&r2=743104&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/mod_plainmem.c (original)
+++ httpd/httpd/trunk/modules/mem/mod_plainmem.c Tue Feb 10 21:14:47 2009
@@ -185,7 +185,9 @@
&slotmem_attach,
&slotmem_mem,
NULL,
- NULL
+ NULL,
+ &slotmem_get,
+ &slotmem_put
};
static int pre_config(apr_pool_t *p, apr_pool_t *plog,
Modified: httpd/httpd/trunk/server/slotmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/slotmem.c?rev=743104&r1=743103&r2=743104&view=diff
==============================================================================
--- httpd/httpd/trunk/server/slotmem.c (original)
+++ httpd/httpd/trunk/server/slotmem.c Tue Feb 10 21:14:47 2009
@@ -79,6 +79,7 @@
{
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)