[Python-checkins] r73619 - in python/branches/release31-maint: Objects/capsule.c
benjamin.peterson
python-checkins at python.org
Sun Jun 28 18:26:14 CEST 2009
Author: benjamin.peterson
Date: Sun Jun 28 18:26:13 2009
New Revision: 73619
Log:
Merged revisions 73618 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r73618 | benjamin.peterson | 2009-06-28 11:23:55 -0500 (Sun, 28 Jun 2009) | 1 line
fix useless comparison #6355
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Objects/capsule.c
Modified: python/branches/release31-maint/Objects/capsule.c
==============================================================================
--- python/branches/release31-maint/Objects/capsule.c (original)
+++ python/branches/release31-maint/Objects/capsule.c Sun Jun 28 18:26:13 2009
@@ -33,7 +33,7 @@
/* if either is NULL, */
if (!name1 || !name2) {
/* they're only the same if they're both NULL. */
- return name2 == name2;
+ return name1 == name2;
}
return !strcmp(name1, name2);
}
More information about the Python-checkins
mailing list