version 1.2.2.18, 2010/12/07 15:09:02
|
version 1.2.2.19, 2010/12/07 15:15:34
|
Line 1270 cliNetLoop(linebuffer_t * __restrict buffer, const cha
|
Line 1270 cliNetLoop(linebuffer_t * __restrict buffer, const cha
|
} else |
} else |
close(sock); |
close(sock); |
|
|
cliInitLine(buffer); |
|
ret = cliLoop(buffer, csHistFile) < 0 ? 1 : 0; |
ret = cliLoop(buffer, csHistFile) < 0 ? 1 : 0; |
cliEnd(buffer); |
cliEnd(buffer); |
|
|
Line 1378 cliLoop(linebuffer_t * __restrict buffer, const char *
|
Line 1377 cliLoop(linebuffer_t * __restrict buffer, const char *
|
struct tagCommand *cmd; |
struct tagCommand *cmd; |
|
|
/* --- main body of CLI --- */ |
/* --- main body of CLI --- */ |
|
cliInitLine(buffer); |
|
|
if (cli_loadHistory(buffer, csHistFile) == RETCODE_ERR) |
if (cli_loadHistory(buffer, csHistFile) == RETCODE_ERR) |
return RETCODE_ERR; |
return RETCODE_ERR; |