Patch #1572724: fix typo ('=' instead of '==') in _msi.c.

(backport from rev. 52251)
This commit is contained in:
Georg Brandl 2006-10-09 19:03:12 +00:00
parent 0037300f15
commit 7444eda3d6
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@ Core and builtins
Extension Modules
-----------------
- Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
- Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters.

View File

@ -495,7 +495,7 @@ summary_getproperty(msiobj* si, PyObject *args)
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize);
if (status = ERROR_MORE_DATA) {
if (status == ERROR_MORE_DATA) {
sval = malloc(ssize);
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize);