mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 00:01:04 +00:00
Intialize bufpos in the fake client
This commit is contained in:
parent
0537e7bf80
commit
2403fc9fde
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user