mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user