summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metaentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metaentry.c b/metaentry.c
index b0ea69d..0263220 100644
--- a/metaentry.c
+++ b/metaentry.c
@@ -167,7 +167,7 @@ mentries_print(const struct metahash *mhash)
int index;
for (index = 0; index < HASH_INDEXES; index++)
- for (mentry = mhash->bucket[i]; mentry; mentry = mentry->next)
+ for (mentry = mhash->bucket[index]; mentry; mentry = mentry->next)
mentry_print(mentry);
msg(MSG_DEBUG, "%i entries in total\n", mhash->count);