You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/21 03:47:51 UTC

[lucy-commits] svn commit: r1137840 - /incubator/lucy/trunk/clownfish/src/CFCMethod.c

Author: marvin
Date: Tue Jun 21 01:47:50 2011
New Revision: 1137840

URL: http://svn.apache.org/viewvc?rev=1137840&view=rev
Log:
Fix glitch in compatible/equals for methods.

Modified:
    incubator/lucy/trunk/clownfish/src/CFCMethod.c

Modified: incubator/lucy/trunk/clownfish/src/CFCMethod.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCMethod.c?rev=1137840&r1=1137839&r2=1137840&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCMethod.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCMethod.c Tue Jun 21 01:47:50 2011
@@ -165,7 +165,7 @@ CFCMethod_compatible(CFCMethod *self, CF
     if (!other) { return false; }
     if (strcmp(self->macro_sym, other->macro_sym)) { return false; }
     int my_public = CFCMethod_public(self);
-    int other_public = CFCMethod_public(self);
+    int other_public = CFCMethod_public(other);
     if (!!my_public != !!other_public) { return false; }
 
     // Check arguments and initial values.