Commit 2affc3ed authored by antirez's avatar antirez
Browse files

First fix, still broken

parent c04c9ac9
...@@ -5487,7 +5487,7 @@ static void blockForKey(redisClient *c, robj *key, time_t timeout) { ...@@ -5487,7 +5487,7 @@ static void blockForKey(redisClient *c, robj *key, time_t timeout) {
int retval; int retval;
l = listCreate(); l = listCreate();
retval = dictAdd(c->db->blockingkeys,c,l); retval = dictAdd(c->db->blockingkeys,key,l);
assert(retval == DICT_OK); assert(retval == DICT_OK);
} else { } else {
l = dictGetEntryVal(de); l = dictGetEntryVal(de);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment