1
0
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:
Con Kolivas 2013-04-24 23:16:21 +10:00
parent 06f7f52553
commit d835ef75d1

4
util.c
View File

@ -1128,10 +1128,10 @@ char *recv_line(struct pool *pool)
break;
case RECV_CLOSED:
applog(LOG_DEBUG, "Socket closed waiting in recv_line");
break;
goto out;
case RECV_RECVFAIL:
applog(LOG_DEBUG, "Failed to recv sock in recv_line");
break;
goto out;
}
}