diff options
author | antirez <antirez@gmail.com> | 2015-07-31 18:01:23 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-10-01 13:02:24 +0200 |
commit | 86d48efbfd40cba447025c36ac6b0c5507b032fd (patch) | |
tree | 3c2cd4648dad5497e176bb301dc425b6373cafd0 /src/networking.c | |
parent | 4ff3c17a20cca084acce8d0cb618547f09a18da1 (diff) | |
download | redis-86d48efbfd40cba447025c36ac6b0c5507b032fd.tar.gz |
Lazyfree: Convert Sets to use plains SDS (several commits squashed).
Diffstat (limited to 'src/networking.c')
-rw-r--r-- | src/networking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index 044e9a4a3..ff2d29a8e 100644 --- a/src/networking.c +++ b/src/networking.c @@ -117,13 +117,13 @@ client *createClient(int fd) { listSetDupMethod(c->reply,dupClientReplyValue); c->btype = BLOCKED_NONE; c->bpop.timeout = 0; - c->bpop.keys = dictCreate(&setDictType,NULL); + c->bpop.keys = dictCreate(&objectKeyPointerValueDictType,NULL); c->bpop.target = NULL; c->bpop.numreplicas = 0; c->bpop.reploffset = 0; c->woff = 0; c->watched_keys = listCreate(); - c->pubsub_channels = dictCreate(&setDictType,NULL); + c->pubsub_channels = dictCreate(&objectKeyPointerValueDictType,NULL); c->pubsub_patterns = listCreate(); c->peerid = NULL; listSetFreeMethod(c->pubsub_patterns,decrRefCountVoid); |