diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-01-21 21:03:40 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-01-21 21:03:40 +0000 |
commit | 02094f7fb947efc8ea235cc622e644a524773d14 (patch) | |
tree | 17ae7aec2a2cf7d57ba1c90a094b929337b7beab | |
parent | d6d524741aef1851eeac5737b6c7a5aeb051878c (diff) |
Merged revisions 169722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r169722 | tilghman | 2009-01-21 15:02:32 -0600 (Wed, 21 Jan 2009) | 8 lines
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
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/asterisk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 7cc9b6ccf..25c08f44f 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -2125,6 +2125,7 @@ static int ast_el_read_char(EditLine *editline, char *cp) if (*tmp == 127) { memmove(tmp, tmp + 1, strlen(tmp)); tmp--; + res--; } } |