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
}