diff --git a/src/aof.c b/src/aof.c index 9723fc33..7d76c6f3 100644 --- a/src/aof.c +++ b/src/aof.c @@ -645,6 +645,8 @@ struct client *createFakeClient(void) { c->obuf_soft_limit_reached_time = 0; c->watched_keys = listCreate(); c->peerid = NULL; + c->resp = 2; + c->user = NULL; listSetFreeMethod(c->reply,freeClientReplyValue); listSetDupMethod(c->reply,dupClientReplyValue); initClientMultiState(c);