[Freeswitch-svn] [commit] r2813 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Sat Sep 23 19:21:49 EDT 2006


Author: mikej
Date: Sat Sep 23 19:21:48 2006
New Revision: 2813

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
code before declaration.

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Sat Sep 23 19:21:48 2006
@@ -618,8 +618,9 @@
 			ext++;
 		} else {
 			char *new_file;
+			uint32_t len;
 			ext = read_codec->implementation->iananame;
-			uint32_t len = (uint32_t)strlen(file) + (uint32_t)strlen(ext) + 2;
+			len = (uint32_t)strlen(file) + (uint32_t)strlen(ext) + 2;
 			new_file = switch_core_session_alloc(session, len);
 			snprintf(new_file, len, "%s.%s", file, ext);
 			file = new_file;



More information about the Freeswitch-svn mailing list