[asterisk-commits] tilghman: branch 1.4 r169722 - /branches/1.4/main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 21 15:02:32 CST 2009


Author: tilghman
Date: Wed Jan 21 15:02:32 2009
New Revision: 169722

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169722
Log:
Extra NULLs in the output cause some terminal types to abort in the middle of
a color code, causing terminal weirdness.
(closes issue #14130)
 Reported by: coolmig
 Patches: 
       20090121__bug14130.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, coolmig

Modified:
    branches/1.4/main/asterisk.c

Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=169722&r1=169721&r2=169722
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Wed Jan 21 15:02:32 2009
@@ -1832,6 +1832,7 @@
 				if (*tmp == 127) {
 					memmove(tmp, tmp + 1, strlen(tmp));
 					tmp--;
+					res--;
 				}
 			}
 




More information about the asterisk-commits mailing list