thash: fix prealloc config setting

pull/4275/head
Victor Julien 6 years ago
parent e264a0cee8
commit c6cda99bcd

@ -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 ((ConfGet(varname, &conf_val)) == 1)
{ {
if (ByteExtractStringUint32(&configval, 10, strlen(conf_val), if (ByteExtractStringUint32(&configval, 10, strlen(conf_val),

Loading…
Cancel
Save