diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-11-24 22:43:25 +0100 |
---|---|---|
committer | Przemyslaw Pawelczyk <przemoc@gmail.com> | 2015-02-07 22:50:33 +0100 |
commit | 00e0d24cda49e88b4b66ed5bef8213698fd262a1 (patch) | |
tree | 46cbca76ed18245d72ca60e387947b1c54bdb09b | |
parent | 851034abc03a90e3c7e055b7d3a843e28cfeec50 (diff) |
metaentry.c: Fix compilation when DEBUG is defined.
Signed-off-by: Przemyslaw Pawelczyk <przemoc@gmail.com>
-rw-r--r-- | metaentry.c | 2 |
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); |