Commit 2403fc9f authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

Intialize bufpos in the fake client

parent 0537e7bf
...@@ -189,6 +189,7 @@ struct redisClient *createFakeClient(void) { ...@@ -189,6 +189,7 @@ struct redisClient *createFakeClient(void) {
c->querybuf = sdsempty(); c->querybuf = sdsempty();
c->argc = 0; c->argc = 0;
c->argv = NULL; c->argv = NULL;
c->bufpos = 0;
c->flags = 0; c->flags = 0;
/* We set the fake client as a slave waiting for the synchronization /* We set the fake client as a slave waiting for the synchronization
* so that Redis will not try to send replies to this client. */ * so that Redis will not try to send replies to this client. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment