commit | 34ed9f7c5e22f8c5ebf38edff64f88842dfba245 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Aug 15 14:51:48 2008 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Aug 15 14:51:48 2008 +0000 |
tree | 91e319943302befa23c1c611f09b11927ccb1b19 | |
parent | c17517589abc2e548331904059ce49a165955e57 [diff] [blame] |
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
diff --git a/Modules/binascii.c b/Modules/binascii.c index 3c27fd6..82c1423 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c
@@ -1028,7 +1028,7 @@ } result = (crc ^ 0xFFFFFFFF); - PyBuffer_Release(&pbuf); + PyBuffer_Release(&pbin); return PyLong_FromUnsignedLong(result & 0xffffffff); } #endif /* USE_ZLIB_CRC32 */