Fixed malformed HTTP response on Linux.
This commit is contained in:
parent
0245ce5f35
commit
24e4328915
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void xmrig::HttpResponse::end(const char *data, size_t size)
|
||||||
# ifdef _WIN32
|
# ifdef _WIN32
|
||||||
bufs[1].len = static_cast<unsigned int>(size);
|
bufs[1].len = static_cast<unsigned int>(size);
|
||||||
# else
|
# else
|
||||||
bufs[0].len = size;
|
bufs[1].len = size;
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue