From c6cda99bcdeffce3fa775f0b2b414529e94bae11 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 3 Oct 2019 17:12:00 +0200 Subject: [PATCH] thash: fix prealloc config setting --- src/util-thash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-thash.c b/src/util-thash.c index c959cbb3b6..5b4f688c44 100644 --- a/src/util-thash.c +++ b/src/util-thash.c @@ -236,7 +236,7 @@ static void THashInitConfig(THashTableContext *ctx, const char *cnf_prefix) } } - GET_VAR(cnf_prefix, "hash-size"); + GET_VAR(cnf_prefix, "prealloc"); if ((ConfGet(varname, &conf_val)) == 1) { if (ByteExtractStringUint32(&configval, 10, strlen(conf_val), -- 2.47.2