FS-11896: [core] Fix typos
This commit is contained in:
parent
1dd4191601
commit
ff21989218
|
@ -122,8 +122,8 @@ SWITCH_DECLARE(switch_status_t) switch_buffer_create_dynamic(switch_buffer_t **b
|
|||
start_len = 250;
|
||||
}
|
||||
|
||||
if (!block_size) {
|
||||
block_size = start_len;
|
||||
if (!blocksize) {
|
||||
blocksize = start_len;
|
||||
}
|
||||
|
||||
if (!(new_buffer->data = malloc(start_len))) {
|
||||
|
|
|
@ -828,7 +828,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(switch_core_session_t
|
|||
|
||||
|
||||
if (!switch_channel_media_ready(session->channel)) {
|
||||
if (switch_channel_direction(session->channel == SWITCH_CALL_DIRECTION_OUTBOUND) ||
|
||||
if ((switch_channel_direction(session->channel) == SWITCH_CALL_DIRECTION_OUTBOUND) ||
|
||||
switch_channel_pre_answer(session->channel) != SWITCH_STATUS_SUCCESS) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Cannot establish media. Media bug add failed.\n");
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
|
Loading…
Reference in New Issue