]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3515 remove duplicate code
authorJeff Lenk <jeff@jefflenk.com>
Tue, 23 Aug 2011 16:19:34 +0000 (11:19 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 23 Aug 2011 16:20:04 +0000 (11:20 -0500)
src/switch_ivr_originate.c

index 91bd1420f0b800036acc36ff7cbeedf1b90453e3..c097a1935dd2fd0825055392e9be65062eba3d6f 100644 (file)
@@ -2299,11 +2299,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                        chan_type++;
                                }
                                
-                               while (chan_type && *chan_type && *chan_type == ' ') {
-                                       chan_type++;
-                               }
-
-                               
                                if ((chan_data = strchr(chan_type, '/')) != 0) {
                                        *chan_data = '\0';
                                        chan_data++;