Merged revisions 128737 via svnmerge from
authorSean Bright <sean@malleable.com>
Mon, 7 Jul 2008 20:50:29 +0000 (20:50 +0000)
committerSean Bright <sean@malleable.com>
Mon, 7 Jul 2008 20:50:29 +0000 (20:50 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128737 | seanbright | 2008-07-07 16:47:56 -0400 (Mon, 07 Jul 2008) | 9 lines

Remove spurious trailing whitespace from log messages and fix a spelling error
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/trunk@128738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 80a49d8..831d6f6 100644 (file)
@@ -7824,7 +7824,7 @@ static int socket_process_meta(int packet_len, struct ast_iax2_meta_hdr *meta, s
                if (!iaxs[fr->callno]) {
                        /* drop it */
                } else if (iaxs[fr->callno]->voiceformat == 0) {
-                       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);
                } else {
                        f.subclass = iaxs[fr->callno]->voiceformat;
@@ -9449,7 +9449,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;