From 96164e0967075ad347c63ee9a2156bc718e7bcee Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Mon, 7 Jan 2008 11:21:24 +0000 Subject: [PATCH] Spelling fixes #3 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7121 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_codec.c | 12 ++++++------ src/switch_core_timer.c | 8 ++++---- src/switch_ivr_async.c | 2 +- src/switch_ivr_originate.c | 2 +- src/switch_loadable_module.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/switch_core_codec.c b/src/switch_core_codec.c index 99df819e24..f9ca0d2582 100644 --- a/src/switch_core_codec.c +++ b/src/switch_core_codec.c @@ -119,7 +119,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_init(switch_codec_t *codec, ch if (channels == 2) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Stereo is not currently supported. please downsample audio source to mono.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Stereo is currently unsupported. please downsample audio source to mono.\n"); return SWITCH_STATUS_GENERR; } @@ -204,12 +204,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_encode(switch_codec_t *codec, switch_assert(decoded_data != NULL); if (!codec->implementation) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec is not initialized!\n"); return SWITCH_STATUS_GENERR; } if (!switch_test_flag(codec, SWITCH_CODEC_FLAG_ENCODE)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's encoder is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's encoder is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -234,12 +234,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_decode(switch_codec_t *codec, if (!codec->implementation) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec is not initialized!\n"); return SWITCH_STATUS_GENERR; } if (!switch_test_flag(codec, SWITCH_CODEC_FLAG_DECODE)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's decoder is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec's decoder is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -254,7 +254,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_destroy(switch_codec_t *codec) switch_assert(codec != NULL); if (!codec->implementation) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Codec is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Codec is not initialized!\n"); return SWITCH_STATUS_GENERR; } diff --git a/src/switch_core_timer.c b/src/switch_core_timer.c index c4f438b79f..8bfaff00c8 100644 --- a/src/switch_core_timer.c +++ b/src/switch_core_timer.c @@ -66,7 +66,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_init(switch_timer_t *timer, co SWITCH_DECLARE(switch_status_t) switch_core_timer_next(switch_timer_t *timer) { if (!timer->timer_interface) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -81,7 +81,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_next(switch_timer_t *timer) SWITCH_DECLARE(switch_status_t) switch_core_timer_step(switch_timer_t *timer) { if (!timer->timer_interface) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -91,7 +91,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_step(switch_timer_t *timer) SWITCH_DECLARE(switch_status_t) switch_core_timer_check(switch_timer_t *timer) { if (!timer->timer_interface) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initialized!\n"); return SWITCH_STATUS_GENERR; } @@ -102,7 +102,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_check(switch_timer_t *timer) SWITCH_DECLARE(switch_status_t) switch_core_timer_destroy(switch_timer_t *timer) { if (!timer->timer_interface) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initilized!\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Timer is not initialized!\n"); return SWITCH_STATUS_GENERR; } diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 459c4e4e5c..6ea4f294b1 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1154,7 +1154,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_tone_detect_session(switch_core_sessi for(i = 0; i < cont->index; i++) { if (!switch_strlen_zero(cont->list[cont->index].key) && !strcasecmp(key, cont->list[cont->index].key)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Renabling %s\n", key); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Re-enabling %s\n", key); cont->list[cont->index].up = 1; teletone_multi_tone_init(&cont->list[i].mt, &cont->list[i].map); return SWITCH_STATUS_SUCCESS; diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 990958f9ad..2c1d8f8f77 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -730,7 +730,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess and_argc = switch_separate_string(pipe_names[r], ',', peer_names, (sizeof(peer_names) / sizeof(peer_names[0]))); if ((flags & SOF_NOBLOCK) && and_argc > 1) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Only calling the first elemnent in the list in this mode.\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Only calling the first element in the list in this mode.\n"); and_argc = 1; } diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index ae73b9e4bf..ac5dc3d386 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -694,7 +694,7 @@ static switch_status_t switch_loadable_module_load_file(char *path, char *filena } if (load_func_ptr == NULL) { - err = "Cannot locate symbol 'switch_module_load' please make sure this is a vaild module."; + err = "Cannot locate symbol 'switch_module_load' please make sure this is a valid module."; break; } @@ -1018,7 +1018,7 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init() } if (!count) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "No modules loaded assuming 'load all'\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "No modules loaded, assuming 'load all'\n"); all = 1; }