From 0ae3b344dc9736f3c73203f0ab09e085be559119 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 12 Jun 2006 02:39:05 +0000 Subject: [PATCH] make sure to use switch namespace on apr functions in modules. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1601 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index bbe6b2ff3e..a6a54969fb 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -886,7 +886,7 @@ static switch_status_t hup_call(char *callid, switch_stream_handle_t *stream) void *val; int i = 0; - for (hi = apr_hash_first(module_pool, globals.call_hash); hi; hi = switch_hash_next(hi)) { + for (hi = switch_hash_first(module_pool, globals.call_hash); hi; hi = switch_hash_next(hi)) { switch_hash_this(hi, NULL, NULL, &val); tech_pvt = val; channel = switch_core_session_get_channel(tech_pvt->session); @@ -977,7 +977,7 @@ static switch_status_t call_info(char *callid, switch_stream_handle_t *stream) switch_hash_index_t *hi; void *val; if (!callid || !strcasecmp(callid, "all")) { - for (hi = apr_hash_first(module_pool, globals.call_hash); hi; hi = switch_hash_next(hi)) { + for (hi = switch_hash_first(module_pool, globals.call_hash); hi; hi = switch_hash_next(hi)) { switch_hash_this(hi, NULL, NULL, &val); tech_pvt = val; print_info(tech_pvt, stream);