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

FreeSWITCH SVN anthm at freeswitch.org
Tue Feb 24 11:54:55 PST 2009


Author: anthm
Date: Tue Feb 24 13:54:54 2009
New Revision: 12263

Log:
doh

Modified:
   freeswitch/trunk/src/switch_ivr.c

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Tue Feb 24 13:54:54 2009
@@ -1547,13 +1547,12 @@
 SWITCH_DECLARE(void *) switch_ivr_digit_stream_parser_feed(switch_ivr_digit_stream_parser_t *parser, switch_ivr_digit_stream_t *stream, char digit)
 {
 	void *result = NULL;
+	switch_size_t len = strlen(stream->digits);
 
 	switch_assert(parser);
 	switch_assert(stream);
 	switch_assert(stream->digits);
 
-	switch_size_t len = strlen(stream->digits);
-
 	/* handle new digit arrivals */
 	if (digit) {
 		/* if it's not a terminator digit, add it to the collected digits */



More information about the Freeswitch-svn mailing list