mirror of
https://github.com/python/cpython.git
synced 2026-01-20 14:20:27 +00:00
Fix typo in backporting fix of issue #16411 to 2.7.
This commit is contained in:
parent
3c30970d29
commit
acfdfdafa2
1 changed files with 2 additions and 2 deletions
|
|
@ -830,8 +830,8 @@ PyZlib_unflush(compobject *self, PyObject *args)
|
|||
ENTER_ZLIB
|
||||
|
||||
start_total_out = self->zst.total_out;
|
||||
self->zst.avail_in = PyBytes_GET_SIZE(self->unconsumed_tail);
|
||||
self->zst.next_in = (Byte *)PyBytes_AS_STRING(self->unconsumed_tail);
|
||||
self->zst.avail_in = PyString_GET_SIZE(self->unconsumed_tail);
|
||||
self->zst.next_in = (Byte *)PyString_AS_STRING(self->unconsumed_tail);
|
||||
self->zst.avail_out = length;
|
||||
self->zst.next_out = (Byte *)PyString_AS_STRING(retval);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue