summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-04-24 21:43:16 +0200
committerantirez <antirez@gmail.com>2014-04-24 21:43:22 +0200
commitcac4bae11ae9f5ce770220ce1f8a70f5033866f4 (patch)
tree3703ae84f76ef8e4cc26cd0c15953df80a538ca8
parentc3f85c010738a9a84bf60d2b4c7654c5c6b76e92 (diff)
downloadredis-cac4bae11ae9f5ce770220ce1f8a70f5033866f4.tar.gz
AE_ERR -> ANET_ERR in acceptUnixHandler().
No actual changes since the value is the same.
-rw-r--r--src/networking.c2
1 files changed, 1 insertions, 1 deletions
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;
}