mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-06 15:42:38 -05:00
Fixed malformed HTTP response on Linux.
This commit is contained in:
@@ -97,7 +97,7 @@ void xmrig::HttpResponse::end(const char *data, size_t size)
|
||||
# ifdef _WIN32
|
||||
bufs[1].len = static_cast<unsigned int>(size);
|
||||
# else
|
||||
bufs[0].len = size;
|
||||
bufs[1].len = size;
|
||||
# endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user