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 Extension Modules
----------------- -----------------
- Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
- Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault - Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters. 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, status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize); &fval, sval, &ssize);
if (status = ERROR_MORE_DATA) { if (status == ERROR_MORE_DATA) {
sval = malloc(ssize); sval = malloc(ssize);
status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival, status = MsiSummaryInfoGetProperty(si->h, field, &type, &ival,
&fval, sval, &ssize); &fval, sval, &ssize);