aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c1
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--;
}
}