From 01720914e0899023747c94ef7cf4c5d17782d7dd Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 18 Aug 2018 17:30:33 -0700 Subject: [PATCH] Fix bug in table lookups. --- src/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table.c b/src/table.c index 97a76fe..3dcb333 100644 --- a/src/table.c +++ b/src/table.c @@ -67,7 +67,7 @@ libab_table_entry* libab_table_search_entry_operator(libab_table* table, } else if (type == OPERATOR_INFIX) { entry = libab_table_search_filter(table, string, NULL, libab_table_compare_op_infix); - } else if (type == OPERATOR_PREFIX) { + } else if (type == OPERATOR_POSTFIX) { entry = libab_table_search_filter(table, string, NULL, libab_table_compare_op_postfix); }