summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index 43e2c6f20..c5f8031b5 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -94,7 +94,7 @@ void SocketEngine::DispatchTrialWrites()
}
}
-bool SocketEngine::AddFd(EventHandler* eh)
+bool SocketEngine::AddFdRef(EventHandler* eh)
{
int fd = eh->GetFd();
if (HasFd(fd))
@@ -106,7 +106,7 @@ bool SocketEngine::AddFd(EventHandler* eh)
return true;
}
-void SocketEngine::DelFd(EventHandler *eh)
+void SocketEngine::DelFdRef(EventHandler *eh)
{
int fd = eh->GetFd();
if (GetRef(fd) == eh)