From: Jeff Trawick Date: Mon, 27 Aug 2001 10:23:11 +0000 (+0000) Subject: fix some calls to apr_pool_userdata_get() X-Git-Tag: 2.0.25~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=066c3b0623a07d0e1d84e5d167c8087533a931c0;p=apache fix some calls to apr_pool_userdata_get() (foo** just doesn't work the way we sometimes might want :( ) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90725 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/request.c b/server/request.c index 6618579952..5d1b383143 100644 --- a/server/request.c +++ b/server/request.c @@ -985,8 +985,8 @@ AP_DECLARE(int) ap_location_walk(request_rec *r) return OK; } - apr_pool_userdata_get(&entry_uri, "ap_location_walk::last_uri", r->pool); - apr_pool_userdata_get(&(void*)loc_done, "ap_location_walk::loc_done", r->pool); + apr_pool_userdata_get((void **)&entry_uri, "ap_location_walk::last_uri", r->pool); + apr_pool_userdata_get((void **)&loc_done, "ap_location_walk::loc_done", r->pool); /* If we have an ap_location_walk::last_uri that matches r->uri, * and the vhost's list of locations hasn't changed, @@ -1064,7 +1064,7 @@ AP_DECLARE(int) ap_location_walk(request_rec *r) * with other walkers who reset to the vhost default, but we will * leave this escape in for simpler modules. */ - apr_pool_userdata_get(&per_uri_defaults, "ap_location_walk::dir_merged", + apr_pool_userdata_get((void **)&per_uri_defaults, "ap_location_walk::dir_merged", r->pool); if (per_uri_defaults == r->per_dir_config) return OK; @@ -1072,7 +1072,7 @@ AP_DECLARE(int) ap_location_walk(request_rec *r) /* Well, we will need our per_uri_defaults from the last location walk. * after all. */ - apr_pool_userdata_get(&per_uri_defaults, "ap_location_walk::dir_conf", + apr_pool_userdata_get((void **)&per_uri_defaults, "ap_location_walk::dir_conf", r->pool); }