x
[protos/libecoli.git] / lib / ecoli_test.c
index fb4b1fe..31f2c37 100644 (file)
@@ -140,7 +140,7 @@ int ec_test_check_complete(struct ec_node *tk, ...)
                }
 
                count++;
-               TAILQ_FOREACH(item, &c->items, next) {
+               TAILQ_FOREACH(item, &c->matches, next) {
                        /* only check matching completions */
                        if (item->add != NULL && strcmp(item->add, s) == 0)
                                break;