From 2e5820b804fe9a3f192d6a018b5ee655f792f5fb Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 28 Jun 2009 16:26:13 +0000 Subject: 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 ........ --- Objects/capsule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/capsule.c b/Objects/capsule.c index 5304ce1..3d2d626 100644 --- a/Objects/capsule.c +++ b/Objects/capsule.c @@ -33,7 +33,7 @@ name_matches(const char *name1, const char *name2) { /* 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); } -- cgit v0.12