cmd handler stuff
This commit is contained in:
@ -55,7 +55,7 @@ void cmdHandlerEngine(void *handle) {
|
|||||||
res = listen(CMD_SOCK);
|
res = listen(CMD_SOCK);
|
||||||
coloredMsg(LOG_YELLOW, "che, listen returns %d", res);
|
coloredMsg(LOG_YELLOW, "che, listen returns %d", res);
|
||||||
|
|
||||||
if (res == SOCK_BUSY) {
|
if (res == SOCK_OK) {
|
||||||
coloredMsg(LOG_YELLOW, "che, ok, waiting for established");
|
coloredMsg(LOG_YELLOW, "che, ok, waiting for established");
|
||||||
state = 2;
|
state = 2;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user