only cleaning

This commit is contained in:
laurent
2023-07-10 12:00:25 +02:00
committed by Laurent THOMAS
parent 392ef79b28
commit 9121541b3c
47 changed files with 428 additions and 565 deletions
-3
View File
@@ -339,9 +339,6 @@ int history_cmd(char *buff, int debug, telnet_printfunc_t prnt) {
memset(cmds,0,sizeof(cmds));
sscanf(buff,"%9s %9s %9s %9s %9s", cmds[0],cmds[1],cmds[2],cmds[3],cmds[4] );
if (cmds[0] == NULL)
return CMDSTATUS_VARNOTFOUND;
if (strncasecmp(cmds[0],"list",4) == 0) {
HIST_ENTRY **hist = history_list();