mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.7.3
This commit is contained in:
4
util.c
4
util.c
@@ -1069,7 +1069,7 @@ char *stratum_recv_line(struct stratum_ctx *sctx)
|
||||
|
||||
time(&rstart);
|
||||
if (!socket_full(sctx->sock, 60)) {
|
||||
applog(LOG_ERR, "stratum_recv_line timed out");
|
||||
applog(LOG_WARNING, "stratum_recv_line timed out");
|
||||
goto out;
|
||||
}
|
||||
do {
|
||||
@@ -1092,7 +1092,7 @@ char *stratum_recv_line(struct stratum_ctx *sctx)
|
||||
} while (time(NULL) - rstart < 60 && !strstr(sctx->sockbuf, "\n"));
|
||||
|
||||
if (!ret) {
|
||||
applog(LOG_ERR, "stratum_recv_line failed");
|
||||
applog(LOG_WARNING, "stratum_recv_line failed");
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user