summaryrefslogtreecommitdiff
path: root/src/aof.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-12-03 17:43:53 +0100
committerantirez <antirez@gmail.com>2013-12-03 17:43:53 +0100
commit82b672f6335ac2db32a724ba5dc10398c949a4a8 (patch)
tree20ea736c60ef3970e0df07e48ee0e9698d798bd1 /src/aof.c
parent2e027c48e5ab5e43e547bc4fb091574d1c7ed52b (diff)
downloadredis-82b672f6335ac2db32a724ba5dc10398c949a4a8.tar.gz
BLPOP blocking code refactored to be generic & reusable.
Diffstat (limited to 'src/aof.c')
-rw-r--r--src/aof.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aof.c b/src/aof.c
index dcbcc62e1..8cbdec889 100644
--- a/src/aof.c
+++ b/src/aof.c
@@ -449,6 +449,7 @@ struct redisClient *createFakeClient(void) {
c->argv = NULL;
c->bufpos = 0;
c->flags = 0;
+ c->btype = REDIS_BLOCKED_NONE;
/* We set the fake client as a slave waiting for the synchronization
* so that Redis will not try to send replies to this client. */
c->replstate = REDIS_REPL_WAIT_BGSAVE_START;