Spelling fixes #2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7120 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2ca370b52f
commit
499e8af075
|
@ -675,12 +675,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
|||
|
||||
/* INIT APR and Create the pool context */
|
||||
if (apr_initialize() != SWITCH_STATUS_SUCCESS) {
|
||||
*err = "FATAL ERROR! Could not initilize APR\n";
|
||||
*err = "FATAL ERROR! Could not initialize APR\n";
|
||||
return SWITCH_STATUS_MEMERR;
|
||||
}
|
||||
|
||||
if (!(runtime.memory_pool = switch_core_memory_init())) {
|
||||
*err = "FATAL ERROR! Could noat allocate memory pool\n";
|
||||
*err = "FATAL ERROR! Could not allocate memory pool\n";
|
||||
return SWITCH_STATUS_MEMERR;
|
||||
}
|
||||
switch_assert(runtime.memory_pool != NULL);
|
||||
|
|
|
@ -409,7 +409,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session,
|
|||
switch_assert(channel != NULL);
|
||||
|
||||
if (!switch_channel_test_flag(channel, CF_ANSWERED)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Careful, Channel is unaswered. Pre-answering...\n");
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Careful, Channel is unanswered. Pre-answering...\n");
|
||||
switch_channel_pre_answer(channel);
|
||||
}
|
||||
|
||||
|
|
|
@ -492,7 +492,7 @@ static switch_status_t switch_ivr_menu_stack_xml_add(switch_ivr_menu_xml_ctx_t *
|
|||
if (xml_ctx != NULL && name != NULL && xml_ctx->pool != NULL && switch_ivr_menu_stack_xml_find(xml_ctx, name) == NULL) {
|
||||
switch_ivr_menu_xml_map_t *map = switch_core_alloc(xml_ctx->pool, sizeof(switch_ivr_menu_xml_map_t));
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "switch_ivr_menu_stack_xml_add bindng '%s'\n", name);
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "switch_ivr_menu_stack_xml_add binding '%s'\n", name);
|
||||
// and we have memory
|
||||
if (map != NULL) {
|
||||
map->name = switch_core_strdup(xml_ctx->pool, name);
|
||||
|
|
Loading…
Reference in New Issue