]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
Fix overflow in mstime() in redis-cli and benchmark.
[redis.git] / src / redis.h
index 8fd6f447d386b0c74237b253bd7cc36aeadaae90..071cb534e3b040607bbd9d1717012b148dd1e08e 100644 (file)
@@ -350,9 +350,8 @@ typedef struct multiState {
 } multiState;
 
 typedef struct blockingState {
-    robj **keys;            /* The key we are waiting to terminate a blocking
+    dict *keys;             /* The keys we are waiting to terminate a blocking
                              * operation such as BLPOP. Otherwise NULL. */
-    int count;              /* Number of blocking keys */
     time_t timeout;         /* Blocking operation timeout. If UNIX current time
                              * is >= timeout then the operation timed out. */
     robj *target;           /* The key that should receive the element,