Merged revisions 169722 via svnmerge from
[asterisk/asterisk.git] / main / asterisk.c
index 7cc9b6c..25c08f4 100644 (file)
@@ -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--;
                                }
                        }