Commit ab684bbe authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

scan: if ellsi_check fails, return the lastState (and don't call ourselves recursively)

parent 20cdb96b
......@@ -316,9 +316,9 @@ static int ellsi_check(int sock) {
} else {
return ellsi_check(sock);
return -1;
return 0;
return ack.payload.lastState;
static int ellsi_register(ellsi_state_t *state) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment