]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 24 Feb 2009 19:54:54 +0000 (19:54 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 24 Feb 2009 19:54:54 +0000 (19:54 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12263 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index d4c30352bfc9d3c517a2a978014b8925cacc4cd2..ccde21c01927bc6bb451cb2d08e0f8a7ab3cbb7f 100644 (file)
@@ -1547,13 +1547,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_digit_stream_parser_del_event(switch_
 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 */