[svn-commits] russell: trunk r117481 - in /trunk: ./ main/asterisk.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 21 13:12:19 CDT 2008


Author: russell
Date: Wed May 21 13:12:19 2008
New Revision: 117481

URL: http://svn.digium.com/view/asterisk?view=rev&rev=117481
Log:
Merged revisions 117479 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117479 | russell | 2008-05-21 13:11:51 -0500 (Wed, 21 May 2008) | 6 lines

Don't display the verbose marker for calls to ast_verbose() that do not include
a VERBOSE_PREFIX in front of the message.
(closes issue #12702)
Reported by: johnlange
Patched by me

........

Modified:
    trunk/   (props changed)
    trunk/main/asterisk.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=117481&r1=117480&r2=117481
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Wed May 21 13:12:19 2008
@@ -1445,8 +1445,12 @@
 	    (c = fix_header(tmp, sizeof(tmp), s, VERBOSE_PREFIX_1))) {
 		fputs(tmp, stdout);
 		fputs(c, stdout);
-	} else
+	} else {
+		if (*s == 127) {
+			s++;
+		}
 		fputs(s, stdout);
+	}
 
 	fflush(stdout);
 	




More information about the svn-commits mailing list