From 00e0d24cda49e88b4b66ed5bef8213698fd262a1 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 24 Nov 2014 22:43:25 +0100 Subject: metaentry.c: Fix compilation when DEBUG is defined. Signed-off-by: Przemyslaw Pawelczyk --- metaentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1