mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 02:52:32 +00:00
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
This commit is contained in:
parent
64c45ad16e
commit
0ae3b344dc
@ -886,7 +886,7 @@ static switch_status_t hup_call(char *callid, switch_stream_handle_t *stream)
|
|||||||
void *val;
|
void *val;
|
||||||
int i = 0;
|
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);
|
switch_hash_this(hi, NULL, NULL, &val);
|
||||||
tech_pvt = val;
|
tech_pvt = val;
|
||||||
channel = switch_core_session_get_channel(tech_pvt->session);
|
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;
|
switch_hash_index_t *hi;
|
||||||
void *val;
|
void *val;
|
||||||
if (!callid || !strcasecmp(callid, "all")) {
|
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);
|
switch_hash_this(hi, NULL, NULL, &val);
|
||||||
tech_pvt = val;
|
tech_pvt = val;
|
||||||
print_info(tech_pvt, stream);
|
print_info(tech_pvt, stream);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user