From f04842d4c8e9fbd0cfee39085db4f406d6d9022a Mon Sep 17 00:00:00 2001 From: William King Date: Sat, 25 May 2013 07:02:33 -0700 Subject: [PATCH] Cleaning up logically dead code. --- src/mod/applications/mod_callcenter/mod_callcenter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: