You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/16 13:23:09 UTC

svn commit: r804665 - /commons/sandbox/runtime/trunk/src/main/native/shared/tables.c

Author: mturk
Date: Sun Aug 16 11:23:09 2009
New Revision: 804665

URL: http://svn.apache.org/viewvc?rev=804665&view=rev
Log:
return real element key

Modified:
    commons/sandbox/runtime/trunk/src/main/native/shared/tables.c

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/tables.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/tables.c?rev=804665&r1=804664&r2=804665&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/tables.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/tables.c Sun Aug 16 11:23:09 2009
@@ -287,7 +287,7 @@
     }
     e = (table_entry_t *)t->a.elts;
     if (key)
-        *key  = e[t->i].key;
+        *key  = e[idx].key;
     if (data)
         *data = e[idx].data;
     if (dlen)