]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Spelling fixes #3
authorStefan Knoblich <stkn@freeswitch.org>
Mon, 7 Jan 2008 11:21:24 +0000 (11:21 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Mon, 7 Jan 2008 11:21:24 +0000 (11:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7121 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_codec.c
src/switch_core_timer.c
src/switch_ivr_async.c
src/switch_ivr_originate.c
src/switch_loadable_module.c

index 99df819e245f0edbb8894d97280e06ea113d27bf..f9ca0d25822bf90eb1f4e0c9fc9fef77771f66ee 100644 (file)
@@ -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;
        }
 
index c4f438b79f4cc841485944ccf450044c1a557092..8bfaff00c8a1d6c4ea796cb28eb60161c8d14699 100644 (file)
@@ -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;
        }
 
index 459c4e4e5c8fa7cc53618d4e968c5d1bdeef4b46..6ea4f294b19b5d75f4d48d95e774e6fa071b6fd5 100644 (file)
@@ -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;
index 990958f9ad122704cac2f00e4dc38d3b5b81c20c..2c1d8f8f773bd5089656a9e33cdf1cf010a1f35e 100644 (file)
@@ -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;
                        }
                        
index ae73b9e4bf3635bff7f6b6fd61da634ee739cc3e..ac5dc3d38627d7ec529f8ca894655d9b72364796 100644 (file)
@@ -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;
        }