summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aof.c b/src/aof.c
index 9723fc333..7d76c6f32 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);