]> git.saurik.com Git - redis.git/blobdiff - src/multi.c
added a comment to sdsMakeRoomFor() to make it clear what the function actually does.
[redis.git] / src / multi.c
index f0b8fc8566e4c3021ba635142083d00864d87472..44036256da50859bc5c2f3bd89709dde7d52b346 100644 (file)
@@ -194,7 +194,7 @@ void unwatchAllKeys(redisClient *c) {
          * from the list */
         wk = listNodeValue(ln);
         clients = dictFetchValue(wk->db->watched_keys, wk->key);
-        redisAssert(clients != NULL);
+        redisAssertWithInfo(c,NULL,clients != NULL);
         listDelNode(clients,listSearchKey(clients,c));
         /* Kill the entry at all if this was the only client */
         if (listLength(clients) == 0)