From: Jeff Lenk Date: Tue, 23 Aug 2011 16:19:34 +0000 (-0500) Subject: FS-3515 remove duplicate code X-Git-Tag: v1.2-rc1~51^2~240^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=605091609d488a8c7ad57143a213870da9e2c4d3;p=thirdparty%2Ffreeswitch.git FS-3515 remove duplicate code --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 91bd1420f0..c097a1935d 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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++;