]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove spurious trailing whitespace from log messages and fix a spelling error
authorSean Bright <sean@malleable.com>
Mon, 7 Jul 2008 20:47:56 +0000 (20:47 +0000)
committerSean Bright <sean@malleable.com>
Mon, 7 Jul 2008 20:47:56 +0000 (20:47 +0000)
in a log message.

(closes issue #13017)
Reported by: jpgrayson
Patches:
      chan_iax2_space_after_newline.patch uploaded by jpgrayson (license 492)
      chan_iax2_spelling.patch uploaded by jpgrayson (license 492)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128737 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index f312f4fe62145bf8d44de4745802f1e099bb2a7e..e548222352f7c1b3bd3cc6c1426dc72c75958a78 100644 (file)
@@ -7136,7 +7136,7 @@ static int socket_process(struct iax2_thread *thread)
                                                                ast_log(LOG_WARNING, "Datalen < 0?\n");
                                                        }
                                                } else {
-                                                       ast_log(LOG_WARNING, "Received trunked frame before first full voice frame\n ");
+                                                       ast_log(LOG_WARNING, "Received trunked frame before first full voice frame\n");
                                                        iax2_vnak(fr->callno);
                                                }
                                        }
@@ -8439,7 +8439,7 @@ retryowner2:
                if (iaxs[fr->callno]->videoformat > 0) 
                        f.subclass = iaxs[fr->callno]->videoformat | (ntohs(vh->ts) & 0x8000 ? 1 : 0);
                else {
-                       ast_log(LOG_WARNING, "Received mini frame before first full video frame\n ");
+                       ast_log(LOG_WARNING, "Received mini frame before first full video frame\n");
                        iax2_vnak(fr->callno);
                        ast_mutex_unlock(&iaxsl[fr->callno]);
                        return 1;
@@ -9159,7 +9159,7 @@ static int start_network_thread(void)
        ast_pthread_create_background(&schedthreadid, NULL, sched_thread, NULL);
        ast_pthread_create_background(&netthreadid, NULL, network_thread, NULL);
        if (option_verbose > 1)
-               ast_verbose(VERBOSE_PREFIX_2 "%d helper threaads started\n", threadcount);
+               ast_verbose(VERBOSE_PREFIX_2 "%d helper threads started\n", threadcount);
        return 0;
 }