aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-24 19:47:53 +0200
committerKim Alvefur <zash@zash.se>2018-09-24 19:47:53 +0200
commite9146e877738a270fb8119baef6a6f3b81d33e6c (patch)
treec9a9f4a69ccab27b81fd4ef0ef8a2eb979ec6b24 /net/server_epoll.lua
parentb532d20ef344a600a0cf743f1e35668bac969ce2 (diff)
downloadprosody-e9146e877738a270fb8119baef6a6f3b81d33e6c.tar.gz
prosody-e9146e877738a270fb8119baef6a6f3b81d33e6c.zip
net.server_epoll: Watching instead of registering, seems more understandable
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 75fdd1c0..0a389d8a 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -271,7 +271,7 @@ function interface:add(r, w)
end
self._wantread, self._wantwrite = r, w;
fds[fd] = self;
- log("debug", "Registered %s", self);
+ log("debug", "Watching %s", self);
return true;
end
@@ -306,7 +306,7 @@ function interface:del()
end
self._wantread, self._wantwrite = nil, nil;
fds[fd] = nil;
- log("debug", "Unregistered %s", self);
+ log("debug", "Unwatched %s", self);
return true;
end