antoine.pitrou
2008-08-15 14:51:48 UTC
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 */
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 */