summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-04-24 21:43:16 +0200
committerantirez <antirez@gmail.com>2014-04-28 18:17:02 +0200
commitba86119414a305b6f372689b34fde3b7fcc246b4 (patch)
treef607a7bac608f9abbc9de10dd238a97ee977fe22
parenta8464828b67da8df439f3e2f95d09d099d49fd36 (diff)
downloadredis-ba86119414a305b6f372689b34fde3b7fcc246b4.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;
}