X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/0a466a754226d5b13cd555a2893867084ee981d4..2ebd2720b37dcca3b6e0c18377bd69e9eaf541fc:/src/networking.c diff --git a/src/networking.c b/src/networking.c index bc807c4b..59512f0f 100644 --- a/src/networking.c +++ b/src/networking.c @@ -519,7 +519,7 @@ void freeClient(redisClient *c) { /* Case 2: we lost the connection with the master. */ if (c->flags & REDIS_MASTER) { server.master = NULL; - server.replstate = REDIS_REPL_CONNECT; + server.repl_state = REDIS_REPL_CONNECT; server.repl_down_since = time(NULL); /* Since we lost the connection with the master, we should also * close the connection with all our slaves if we have any, so