summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/config.c b/src/config.c
index 7f0e9af89..9e509b659 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1650,19 +1650,23 @@ void dictListDestructor(void *privdata, void *val);
void rewriteConfigSentinelOption(struct rewriteConfigState *state);
dictType optionToLineDictType = {
- dictSdsCaseHash, /* hash function */
+ dictSdsCaseHash, /* lookup hash function */
+ dictSdsCaseHash, /* store hash function */
NULL, /* key dup */
NULL, /* val dup */
- dictSdsKeyCaseCompare, /* key compare */
+ dictSdsKeyCaseCompare, /* lookup key compare */
+ dictSdsKeyCaseCompare, /* stored key compare */
dictSdsDestructor, /* key destructor */
dictListDestructor /* val destructor */
};
dictType optionSetDictType = {
- dictSdsCaseHash, /* hash function */
+ dictSdsCaseHash, /* lookup hash function */
+ dictSdsCaseHash, /* store hash function */
NULL, /* key dup */
NULL, /* val dup */
- dictSdsKeyCaseCompare, /* key compare */
+ dictSdsKeyCaseCompare, /* lookup key compare */
+ dictSdsKeyCaseCompare, /* stored key compare */
dictSdsDestructor, /* key destructor */
NULL /* val destructor */
};