From: William King Date: Sat, 25 May 2013 14:02:33 +0000 (-0700) Subject: Cleaning up logically dead code. X-Git-Tag: v1.4.1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04842d4c8e9fbd0cfee39085db4f406d6d9022a;p=thirdparty%2Ffreeswitch.git Cleaning up logically dead code. --- diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index a2c6d7dc85..81fe465f5f 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1724,7 +1724,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa break; /* Protection againts super fast loop due to unregistrer */ case SWITCH_CAUSE_USER_NOT_REGISTERED: - delay_next_agent_call = (5 > delay_next_agent_call? 5 : delay_next_agent_call); + delay_next_agent_call = 5; break; /* No answer: Destination does not answer for some other reason */ default: