summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/TCPLinkImpl.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-22 22:49:37 +0100
committerMattes D <github@xoft.cz>2015-01-22 22:49:37 +0100
commit9014bdfa3233dac70274b27eb40df3739b6f49eb (patch)
treea4a4b62a41936918b77aab0993f1011474454eeb /src/OSSupport/TCPLinkImpl.cpp
parentcNetwork: Added link creation callback. (diff)
downloadcuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar.gz
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar.bz2
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar.lz
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar.xz
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.tar.zst
cuberite-9014bdfa3233dac70274b27eb40df3739b6f49eb.zip
Diffstat (limited to 'src/OSSupport/TCPLinkImpl.cpp')
-rw-r--r--src/OSSupport/TCPLinkImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSSupport/TCPLinkImpl.cpp b/src/OSSupport/TCPLinkImpl.cpp
index 5d31da22e..71b3d572d 100644
--- a/src/OSSupport/TCPLinkImpl.cpp
+++ b/src/OSSupport/TCPLinkImpl.cpp
@@ -213,7 +213,7 @@ void cTCPLinkImpl::EventCallback(bufferevent * a_BufferEvent, short a_What, void
{
if (Self->m_ConnectCallbacks != nullptr)
{
- Self->m_ConnectCallbacks->OnSuccess(*Self);
+ Self->m_ConnectCallbacks->OnConnected(*Self);
// Reset the connect callbacks so that later errors get reported through the link callbacks:
Self->m_ConnectCallbacks.reset();
return;