]> git.saurik.com Git - redis.git/blobdiff - src/debug.c
Fix bug where the client is not present in server.clients when free'ing it
[redis.git] / src / debug.c
index f58fcbaeb3bed8e45933a5688c488a4de62798c6..76d18b214964170a6162636f26cd591063f4ff04 100644 (file)
@@ -119,7 +119,7 @@ void computeDatasetDigest(unsigned char *final) {
                 }
                 listTypeReleaseIterator(li);
             } else if (o->type == REDIS_SET) {
-                setIterator *si = setTypeInitIterator(o);
+                setTypeIterator *si = setTypeInitIterator(o);
                 robj *ele;
                 while((ele = setTypeNext(si)) != NULL) {
                     xorObjectDigest(digest,ele);