[Freeswitch-svn] [commit] r1601 - freeswitch/trunk/src/mod/endpoints/mod_portaudio

mikej at freeswitch.org mikej at freeswitch.org
Sun Jun 11 22:39:05 EDT 2006


Author: mikej
Date: Sun Jun 11 22:39:05 2006
New Revision: 1601

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c

Log:
make sure to use switch namespace on apr functions in modules.

Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c	Sun Jun 11 22:39:05 2006
@@ -886,7 +886,7 @@
 		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 @@
 	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);



More information about the Freeswitch-svn mailing list