summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-10-09 19:03:12 +0000
committerGeorg Brandl <georg@python.org>2006-10-09 19:03:12 +0000
commit27b265e143ee8003a2067280cd420b86da08094f (patch)
treebef9f75eb2fd4be69267812c83766c66b23572bc /PC
parent12480987a20ee33e3a431ef58bd263da7d38e8db (diff)
downloadcpython-27b265e143ee8003a2067280cd420b86da08094f.tar.gz
Patch #1572724: fix typo ('=' instead of '==') in _msi.c.
(backport from rev. 52251)
Diffstat (limited to 'PC')
-rw-r--r--PC/_msi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_msi.c b/PC/_msi.c
index 35f137a24a..f4af92af8a 100644
--- a/PC/_msi.c
+++ b/PC/_msi.c
@@ -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);