summaryrefslogtreecommitdiff
path: root/metaentry.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-11-24 22:43:25 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2015-02-07 22:50:33 +0100
commit00e0d24cda49e88b4b66ed5bef8213698fd262a1 (patch)
tree46cbca76ed18245d72ca60e387947b1c54bdb09b /metaentry.c
parent851034abc03a90e3c7e055b7d3a843e28cfeec50 (diff)
metaentry.c: Fix compilation when DEBUG is defined.
Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
Diffstat (limited to 'metaentry.c')
-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);