[Freeswitch-trunk] [commit] r3767 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Wed Dec 20 16:40:27 EST 2006


Author: anthm
Date: Wed Dec 20 16:40:26 2006
New Revision: 3767

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
const

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Wed Dec 20 16:40:26 2006
@@ -4412,9 +4412,10 @@
                                                         uint32_t buflen)
 {
 	switch_xml_t cfg, xml = NULL, language, macros, macro, input, action;
-    char *lname = NULL, *mname = NULL, hint_data[1024] = "", enc_hint[1024] = "";
+    const char *lname = NULL, *mname = NULL;
+    char hint_data[1024] = "", enc_hint[1024] = "";
     switch_status_t status = SWITCH_STATUS_GENERR;
-    char *old_sound_prefix, *sound_path = NULL, *tts_engine = NULL, *tts_voice = NULL;
+    const char *old_sound_prefix, *sound_path = NULL, *tts_engine = NULL, *tts_voice = NULL;
     switch_channel_t *channel;
 
     channel = switch_core_session_get_channel(session);



More information about the Freeswitch-trunk mailing list