mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI/updater: Fix incorrect inflate use
Same issue as 77ceb97
corrected but for POST responses.
This commit is contained in:
parent
723d25e0ed
commit
a8106115d9
@ -36,10 +36,10 @@ public:
|
|||||||
static bool ReadZippedHTTPData(string &responseBuf, z_stream *strm,
|
static bool ReadZippedHTTPData(string &responseBuf, z_stream *strm,
|
||||||
string &zipBuf, const uint8_t *buffer, DWORD outSize)
|
string &zipBuf, const uint8_t *buffer, DWORD outSize)
|
||||||
{
|
{
|
||||||
do {
|
strm->avail_in = outSize;
|
||||||
strm->avail_in = outSize;
|
strm->next_in = buffer;
|
||||||
strm->next_in = buffer;
|
|
||||||
|
|
||||||
|
do {
|
||||||
strm->avail_out = (uInt)zipBuf.size();
|
strm->avail_out = (uInt)zipBuf.size();
|
||||||
strm->next_out = (Bytef *)zipBuf.data();
|
strm->next_out = (Bytef *)zipBuf.data();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user