Fri Feb 21 07:00:01 CET 2003

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matteo Brancaleoni
2003-02-21 06:00:08 +00:00
parent 48130719cb
commit 877a281b74
6 changed files with 341 additions and 137 deletions

View File

@@ -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)) {