[Python-3000-checkins] r65692 - python/branches/py3k/Modules/binascii.c
antoine.pitrou
python-3000-checkins at python.org
Fri Aug 15 16:51:48 CEST 2008
Author: antoine.pitrou
Date: Fri Aug 15 16:51:48 2008
New Revision: 65692
Log:
Fix building binascii when not using the zlib's crc32 (build failure on Windows buildbots)
Modified:
python/branches/py3k/Modules/binascii.c
Modified: python/branches/py3k/Modules/binascii.c
==============================================================================
--- python/branches/py3k/Modules/binascii.c (original)
+++ python/branches/py3k/Modules/binascii.c Fri Aug 15 16:51:48 2008
@@ -1028,7 +1028,7 @@
}
result = (crc ^ 0xFFFFFFFF);
- PyBuffer_Release(&pbuf);
+ PyBuffer_Release(&pbin);
return PyLong_FromUnsignedLong(result & 0xffffffff);
}
#endif /* USE_ZLIB_CRC32 */
More information about the Python-3000-checkins
mailing list