minor fixes
This commit is contained in:
parent
8261e605bc
commit
8f71535dfd
@ -147,7 +147,6 @@ void historyNext(CLI_t* cli)
|
||||
// write line
|
||||
if ((ret >= 0) && (line != NULL))
|
||||
{
|
||||
int i;
|
||||
CLI_stringOut(cli, line);
|
||||
}
|
||||
}
|
||||
|
||||
@ -123,7 +123,7 @@ int History_getPrev(History_t* history, char** line)
|
||||
*line = NULL;
|
||||
retCode = -1;
|
||||
}
|
||||
return 0;
|
||||
return retCode;
|
||||
}
|
||||
|
||||
int History_getNext(History_t* history, char** line)
|
||||
@ -144,7 +144,7 @@ int History_getNext(History_t* history, char** line)
|
||||
*line = NULL;
|
||||
retCode = -1;
|
||||
}
|
||||
return 0;
|
||||
return retCode;
|
||||
}
|
||||
|
||||
int History_getFullHistory(History_t* history, char*** list)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user