mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Fix warning in zlib
This commit is contained in:
@@ -3,6 +3,7 @@ Version 78:
|
|||||||
* Add span
|
* Add span
|
||||||
* Documentation work
|
* Documentation work
|
||||||
* Use make_unique_noinit
|
* Use make_unique_noinit
|
||||||
|
* Fix warning in zlib
|
||||||
|
|
||||||
HTTP:
|
HTTP:
|
||||||
|
|
||||||
|
@@ -1059,8 +1059,9 @@ doWrite(z_params& zs, boost::optional<Flush> flush, error_code& ec)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(zs.avail_in == 0 && flush <= old_flush &&
|
else if(zs.avail_in == 0 && (
|
||||||
flush != Flush::finish)
|
old_flush && flush <= *old_flush
|
||||||
|
) && flush != Flush::finish)
|
||||||
{
|
{
|
||||||
/* Make sure there is something to do and avoid duplicate consecutive
|
/* Make sure there is something to do and avoid duplicate consecutive
|
||||||
* flushes. For repeated and useless calls with Flush::finish, we keep
|
* flushes. For repeated and useless calls with Flush::finish, we keep
|
||||||
|
Reference in New Issue
Block a user