1
0
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:
XMRig
2019-04-01 00:21:15 +07:00
parent 0245ce5f35
commit 24e4328915

View File

@@ -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
}