]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
spelling
authorBrian West <brian@freeswitch.org>
Tue, 2 Sep 2008 03:25:01 +0000 (03:25 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 2 Sep 2008 03:25:01 +0000 (03:25 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9398 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_io.c
src/switch_core_rwlock.c
src/switch_core_state_machine.c
src/switch_event.c
src/switch_rtp.c
src/switch_scheduler.c

index 8dffe8761968595da4404e25289fd1215894c842..8d0c05bdcc656223614f2a703a332e78488dc392 100644 (file)
@@ -963,7 +963,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_recv_dtmf(switch_core_sessio
        new_dtmf = *dtmf;
 
        if (new_dtmf.duration > switch_core_max_dtmf_duration(0)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXECSSIVE DTMF DIGIT [%c] LEN [%d]\n",
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
                                                  switch_channel_get_name(session->channel), new_dtmf.digit, new_dtmf.duration);
                new_dtmf.duration = switch_core_max_dtmf_duration(0);
        } else if (!new_dtmf.duration) {
@@ -993,7 +993,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_send_dtmf(switch_core_sessio
        new_dtmf = *dtmf;
 
        if (new_dtmf.duration > switch_core_max_dtmf_duration(0)) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXECSSIVE DTMF DIGIT [%c] LEN [%d]\n",
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
                                                  switch_channel_get_name(session->channel), new_dtmf.digit, new_dtmf.duration);
                new_dtmf.duration = switch_core_max_dtmf_duration(0);
        } else if (!new_dtmf.duration) {
@@ -1063,7 +1063,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_send_dtmf_string(switch_core
 
 
                if (dtmf.duration > switch_core_max_dtmf_duration(0)) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXECSSIVE DTMF DIGIT [%c] LEN [%d]\n",
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "%s EXCESSIVE DTMF DIGIT [%c] LEN [%d]\n",
                                                          switch_channel_get_name(session->channel), dtmf.digit, dtmf.duration);
                        dtmf.duration = switch_core_max_dtmf_duration(0);
                } else if (!dtmf.duration) {
index 1a826e7ab0b65ea1eca1c460168362db86a525bc..2e74ecc8976bf167c68bf0d1e03c6845b9a7800f 100644 (file)
@@ -63,7 +63,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_lock(switch_core_sessio
                } else {
                        status = (switch_status_t) switch_thread_rwlock_tryrdlock(session->rwlock);
 #ifdef SWITCH_DEBUG_RWLOCKS
-                       switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_ERROR, "%s Read lock AQUIRED\n",
+                       switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_ERROR, "%s Read lock ACQUIRED\n",
                                                          switch_channel_get_name(session->channel));
 #endif
                }
@@ -76,7 +76,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_lock(switch_core_sessio
 SWITCH_DECLARE(void) switch_core_session_perform_write_lock(switch_core_session_t *session, const char *file, const char *func, int line)
 {
 
-       switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_ERROR, "%s Write lock AQUIRED\n",
+       switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_ERROR, "%s Write lock ACQUIRED\n",
                                          switch_channel_get_name(session->channel));
 #else
 SWITCH_DECLARE(void) switch_core_session_write_lock(switch_core_session_t *session)
index 3f8c4c54d9fbfac0d17d15ada9cb7f7198ae03da..7c05cc26713ec03d0fe84c74042155718ff4814e 100644 (file)
@@ -226,7 +226,7 @@ static void print_trace(void)
 #else
 static void print_trace(void)
 {
-       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Trace not avaliable =(\n");
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Trace not available =(\n");
 }
 #endif
 
index 7fbf9bf515fb0c7ba90632e4ed85795af9b4abff..33597373f6af1ac9bf1861a43d1b35da34024e38 100644 (file)
@@ -803,7 +803,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_serialize(switch_event_t *event, ch
                return SWITCH_STATUS_MEMERR;
        }
 
-       /* switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "hit serialze!.\n"); */
+       /* switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "hit serialzed!.\n"); */
        for (hp = event->headers; hp; hp = hp->next) {
                /*
                 * grab enough memory to store 3x the string (url encode takes one char and turns it into %XX)
index 75d9d245e697ddfbe2b42b7e5b566cd70e161fcd..9aaa86183ed8b069698a3dd8ecac535cf3fb1e0f 100644 (file)
@@ -1386,7 +1386,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
                        if (stat && rtp_session->recv_msg.header.pt != rtp_session->te && rtp_session->recv_msg.header.pt != rtp_session->cng_pt) {
                                if (++rtp_session->srtp_errs >= MAX_SRTP_ERRS) {
                                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
-                                                                         "error: srtp unprotection failed with code %d%s\n", stat,
+                                                                         "error: srtp unprotect failed with code %d%s\n", stat,
                                                                          stat == err_status_replay_fail ? " (replay check failed)" : stat ==
                                                                          err_status_auth_fail ? " (auth check failed)" : "");
                                        ret = -1;
@@ -1403,7 +1403,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
 
 
 
-               /* RFC2833 ... like all RFC RE: VoIP, guarenteed to drive you to insanity! 
+               /* RFC2833 ... like all RFC RE: VoIP, guaranteed to drive you to insanity! 
                   We know the real rules here, but if we enforce them, it's an interop nightmare so,
                   we put up with as much as we can so we don't have to deal with being punished for
                   doing it right. Nice guys finish last!
index 23b4c96d1b5ea2203e0c0a878651c87748adb1f6..1ec9ef6b020680bec5936d5a448aee0d88457d04 100644 (file)
@@ -234,7 +234,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_del_task_id(uint32_t task_id)
        for (tp = globals.task_list; tp; tp = tp->next) {
                if (tp->task.task_id == task_id) {
                        if (switch_test_flag(tp, SSHF_NO_DEL)) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Attempt made to delete undeleteable task #%u (group %s)\n",
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Attempt made to delete undeletable task #%u (group %s)\n",
                                                                  tp->task.task_id, tp->task.group);
                                break;
                        }
@@ -265,7 +265,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_del_task_group(const char *group)
        for (tp = globals.task_list; tp; tp = tp->next) {
                if (!switch_strlen_zero(group) && !strcmp(tp->task.group, group)) {
                        if (switch_test_flag(tp, SSHF_NO_DEL)) {
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Attempt made to delete undeleteable task #%u (group %s)\n",
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Attempt made to delete undeletable task #%u (group %s)\n",
                                                                  tp->task.task_id, group);
                                continue;
                        }