Skip to content

Commit

Permalink
[call_center] Fix compile warnings
Browse files Browse the repository at this point in the history
Thanks CI
  • Loading branch information
bogdan-iancu committed May 9, 2022
1 parent d5a99e8 commit e1049d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/call_center/call_center.c
Expand Up @@ -1316,6 +1316,7 @@ static void cc_timer_agents(unsigned int ticks, void* param)
agent = agent->next;
}while(agent);

retake_agent = NULL;

/* asign calls/chats to the agents */
do {
Expand Down Expand Up @@ -1685,7 +1686,7 @@ static mi_response_t *mi_cc_list_agents(const mi_params_t *params,
if (add_mi_string(agent_item, MI_SSTR("State"),
state.s, state.len) < 0)
goto error;
if ( (agent->state==CC_AGENT_INCHAT) ) {
if ( agent->state==CC_AGENT_INCHAT ) {
if (add_mi_number(agent_item, MI_SSTR("Ongoing chats"),
agent->ongoing_sessions[CC_MEDIA_MSRP]) < 0)
goto error;
Expand Down

0 comments on commit e1049d5

Please sign in to comment.