aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
authormatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-02-21 06:00:08 +0000
committermatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-02-21 06:00:08 +0000
commitacda464eb483efb6dd4a07ab867ae3eb30699d33 (patch)
treee9b36127b828a436a03798b80b303052f04145fb /asterisk.c
parent4e8c9944cb2345492550457f79ea79905dadca79 (diff)
Fri Feb 21 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@620 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c
index 5aedc3495..ddfa0582a 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -787,7 +787,7 @@ static char *cli_complete(EditLine *el, int ch)
LineInfo *lf = (LineInfo *)el_line(el);
*lf->cursor = '\0';
- ptr = (char *)lf->cursor-1;
+ ptr = (char *)lf->cursor;
if (ptr) {
while (ptr > lf->buffer) {
if (isspace(*ptr)) {