diff --git a/src/networking.c b/src/networking.c index c9d211f38..58a8c1f30 100644 --- a/src/networking.c +++ b/src/networking.c @@ -602,7 +602,7 @@ void acceptUnixHandler(aeEventLoop *el, int fd, void *privdata, int mask) { REDIS_NOTUSED(privdata); cfd = anetUnixAccept(server.neterr, fd); - if (cfd == AE_ERR) { + if (cfd == ANET_ERR) { redisLog(REDIS_WARNING,"Accepting client connection: %s", server.neterr); return; }