X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4d7e1255193702937daabf0dbaabbb6876bf5547..f4aa600b996c605b4e2109d0f80cb14a0c14513b:/src/networking.c diff --git a/src/networking.c b/src/networking.c index d2eb2543..634e2107 100644 --- a/src/networking.c +++ b/src/networking.c @@ -467,6 +467,7 @@ void freeClient(redisClient *c) { /* Case 2: we lost the connection with the master. */ if (c->flags & REDIS_MASTER) { server.master = NULL; + /* FIXME */ server.replstate = REDIS_REPL_CONNECT; /* Since we lost the connection with the master, we should also * close the connection with all our slaves if we have any, so