// for ignoring full matches to the key tuple.
static int knockout_check(vector_index index,void *item,void *data) {
knockout *kod = (knockout*) data;
- void *old = hashvector_next( (hashvector*) item, 0, kod->item );
- if ( old ) {
- vector_append( &kod->knockouts, old );
+ vector_index i = 0;
+ for ( ; i < ((hashvector*) item)->table.size; i++ ) {
+ void *old = hashvector_next( (hashvector*) item, &i, kod->item );
+ if ( old ) {
+ vector_append( &kod->knockouts, old );
+ }
}
return 0;
}