Add missing braces to chan_lcr.c

Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
This commit is contained in:
Peter Holik 2013-11-06 07:57:09 +01:00 committed by Andreas Eversberg
parent cac70edab7
commit f3b94bf3a9
1 changed files with 2 additions and 2 deletions

View File

@ -3462,7 +3462,7 @@ static int lcr_config_exec(struct ast_channel *ast, void *data, char **argv)
break; break;
call = call->next; call = call->next;
} }
if (call) if (call) {
#ifdef LCR_FOR_ASTERISK #ifdef LCR_FOR_ASTERISK
apply_opt(call, (char *)data); apply_opt(call, (char *)data);
@ -3480,7 +3480,7 @@ static int lcr_config_exec(struct ast_channel *ast, void *data, char **argv)
newparam.queue = call->tx_queue * 8; newparam.queue = call->tx_queue * 8;
send_message(MESSAGE_DISABLE_DEJITTER, call->ref, &newparam); send_message(MESSAGE_DISABLE_DEJITTER, call->ref, &newparam);
} }
else } else
CERROR(NULL, ast, "lcr_config app not called by chan_lcr channel.\n"); CERROR(NULL, ast, "lcr_config app not called by chan_lcr channel.\n");
ast_mutex_unlock(&chan_lock); ast_mutex_unlock(&chan_lock);