FS-3515 remove duplicate code
This commit is contained in:
parent
8abc3ba607
commit
605091609d
|
@ -2299,11 +2299,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||||
chan_type++;
|
chan_type++;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (chan_type && *chan_type && *chan_type == ' ') {
|
|
||||||
chan_type++;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if ((chan_data = strchr(chan_type, '/')) != 0) {
|
if ((chan_data = strchr(chan_type, '/')) != 0) {
|
||||||
*chan_data = '\0';
|
*chan_data = '\0';
|
||||||
chan_data++;
|
chan_data++;
|
||||||
|
|
Loading…
Reference in New Issue