mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Receive failures in recv_line should unconditionally fail.
This commit is contained in:
parent
06f7f52553
commit
d835ef75d1
4
util.c
4
util.c
@ -1128,10 +1128,10 @@ char *recv_line(struct pool *pool)
|
|||||||
break;
|
break;
|
||||||
case RECV_CLOSED:
|
case RECV_CLOSED:
|
||||||
applog(LOG_DEBUG, "Socket closed waiting in recv_line");
|
applog(LOG_DEBUG, "Socket closed waiting in recv_line");
|
||||||
break;
|
goto out;
|
||||||
case RECV_RECVFAIL:
|
case RECV_RECVFAIL:
|
||||||
applog(LOG_DEBUG, "Failed to recv sock in recv_line");
|
applog(LOG_DEBUG, "Failed to recv sock in recv_line");
|
||||||
break;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user