mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-22 15:19:09 +00:00
Fix for short responses from some Raptoreum pools
This commit is contained in:
parent
7f2f50a8d9
commit
9bec1521b8
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ void xmrig::Client::parse(char *line, size_t len)
|
||||||
|
|
||||||
LOG_DEBUG("[%s] received (%d bytes): \"%.*s\"", url(), len, static_cast<int>(len), line);
|
LOG_DEBUG("[%s] received (%d bytes): \"%.*s\"", url(), len, static_cast<int>(len), line);
|
||||||
|
|
||||||
if (len < 32 || line[0] != '{') {
|
if (len < 22 || line[0] != '{') {
|
||||||
if (!isQuiet()) {
|
if (!isQuiet()) {
|
||||||
LOG_ERR("%s " RED("JSON decode failed"), tag());
|
LOG_ERR("%s " RED("JSON decode failed"), tag());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue