diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-24 19:47:53 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-24 19:47:53 +0200 |
commit | f1ce7fec6655649f90ca73387b28cff548c3d800 (patch) | |
tree | c9a9f4a69ccab27b81fd4ef0ef8a2eb979ec6b24 | |
parent | 486382eda5d989ef013a9eeedc221acc6ba45e61 (diff) | |
download | prosody-f1ce7fec6655649f90ca73387b28cff548c3d800.tar.gz prosody-f1ce7fec6655649f90ca73387b28cff548c3d800.zip |
net.server_epoll: Watching instead of registering, seems more understandable
-rw-r--r-- | net/server_epoll.lua | 4 |
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 |