summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_select.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-02-08 22:25:06 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-02-08 22:25:06 +0100
commitb01820c079a605654d6307f6e57d65b339deef7d (patch)
tree1d139fc6a9b91a29a4dae9a86d061468fa2063f9 /src/socketengines/socketengine_select.cpp
parentdd43a49fc43c1ec07b41e19a8bd3649fadccad70 (diff)
Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef()
Diffstat (limited to 'src/socketengines/socketengine_select.cpp')
-rw-r--r--src/socketengines/socketengine_select.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp
index e9d7a9660..d47847154 100644
--- a/src/socketengines/socketengine_select.cpp
+++ b/src/socketengines/socketengine_select.cpp
@@ -60,7 +60,7 @@ bool SelectEngine::AddFd(EventHandler* eh, int event_mask)
if ((fd < 0) || (fd > GetMaxFds() - 1))
return false;
- if (!SocketEngine::AddFd(eh))
+ if (!SocketEngine::AddFdRef(eh))
return false;
SocketEngine::SetEventMask(eh, event_mask);
@@ -83,7 +83,7 @@ void SelectEngine::DelFd(EventHandler* eh)
return;
CurrentSetSize--;
- SocketEngine::DelFd(eh);
+ SocketEngine::DelFdRef(eh);
FD_CLR(fd, &ReadSet);
FD_CLR(fd, &WriteSet);