0
0
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:
Richard Stanway 2017-03-10 16:19:04 +01:00
parent 723d25e0ed
commit a8106115d9
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD

View File

@ -36,10 +36,10 @@ public:
static bool ReadZippedHTTPData(string &responseBuf, z_stream *strm,
string &zipBuf, const uint8_t *buffer, DWORD outSize)
{
do {
strm->avail_in = outSize;
strm->next_in = buffer;
strm->avail_in = outSize;
strm->next_in = buffer;
do {
strm->avail_out = (uInt)zipBuf.size();
strm->next_out = (Bytef *)zipBuf.data();