mirror of
https://github.com/apache/httpd.git
synced 2025-07-23 01:08:51 +00:00
mod_slotmem_shm: follow up to r1830800, preserve callee API.
The caller might (and actually balancer_child_init() does) rely on slotmem_attach() to not mangle the passed in/out slotmem pointer on failure. [Reverted by r1831868] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1831394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -586,7 +586,6 @@ static apr_status_t slotmem_attach(ap_slotmem_instance_t **new,
|
||||
apr_shm_t *shm;
|
||||
apr_status_t rv;
|
||||
|
||||
*new = NULL;
|
||||
ap_mpm_query(AP_MPMQ_GENERATION, &generation);
|
||||
|
||||
if (!slotmem_filenames(pool, name, &fname, NULL)) {
|
||||
|
Reference in New Issue
Block a user