]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Freetdm: Fix for boost spans not started if using a combination of analog spans and...
authorDavid Yat Sin <dyatsin@sangoma.com>
Tue, 29 Jun 2010 19:32:22 +0000 (15:32 -0400)
committerDavid Yat Sin <dyatsin@sangoma.com>
Tue, 29 Jun 2010 19:32:22 +0000 (15:32 -0400)
libs/freetdm/mod_freetdm/mod_freetdm.c

index 923c34363b9fd331faf77f56d8366c0a8031148f..71afdbaeedf58568379876e5bbbdf908477662b1 100755 (executable)
@@ -2996,7 +2996,7 @@ static switch_status_t load_config(void)
 
        /* start all boost spans now that we're done configuring. Unfortunately at this point boost modules have the limitation
         * of needing all spans to be configured before starting them */
-       for ( ; i < boosti; i++) {
+       for (i=0 ; i < boosti; i++) {
                boost_span = boost_spans[i];
                ftdm_log(FTDM_LOG_DEBUG, "Starting boost span %d\n", ftdm_span_get_id(boost_span));
                if (ftdm_span_start(boost_span) == FTDM_FAIL) {