From: Anthony Minessale Date: Tue, 2 Mar 2010 17:50:56 +0000 (+0000) Subject: doh X-Git-Tag: v1.0.6~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bddcc3757127d8082b2020747f5742e1384a11d9;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16865 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index addcac373f..4ad67603a1 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -704,7 +704,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session, if ((to = switch_channel_get_variable(channel, "park_timeout"))) { char *cause_str; - if ((cause_str = strstr(to, ':'))) { + if ((cause_str = strchr(to, ':'))) { timeout_cause = switch_channel_str2cause(cause_str + 1); }