]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Cleaning up logically dead code.
authorWilliam King <william.king@quentustech.com>
Sat, 25 May 2013 14:02:33 +0000 (07:02 -0700)
committerWilliam King <william.king@quentustech.com>
Sat, 25 May 2013 14:02:33 +0000 (07:02 -0700)
src/mod/applications/mod_callcenter/mod_callcenter.c

index a2c6d7dc85ef74ed15c7bb6a3db5ab225fbfb930..81fe465f5f6cbf921f50eb9ee40a8c198af2093f 100644 (file)
@@ -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: