[Freeswitch-svn] [commit] r11326 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

FreeSWITCH SVN brian at freeswitch.org
Tue Jan 20 15:53:05 PST 2009


Author: brian
Date: Tue Jan 20 17:53:05 2009
New Revision: 11326

Log:
cast to char

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

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Tue Jan 20 17:53:05 2009
@@ -540,7 +540,7 @@
 					*p = '\0';
 				}
 			}
-			ldl_handle_send_msg(profile->handle, from, to, NULL, switch_str_nil(body));
+			ldl_handle_send_msg(profile->handle, (char*)from, (char*)to, NULL, switch_str_nil(body));
 		} else {
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Profile %s\n", f_host ? f_host : "NULL");
 			return SWITCH_STATUS_FALSE;



More information about the Freeswitch-svn mailing list