diff options
author | Mattes D <github@xoft.cz> | 2015-01-22 22:49:37 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-22 22:49:37 +0100 |
commit | 9014bdfa3233dac70274b27eb40df3739b6f49eb (patch) | |
tree | a4a4b62a41936918b77aab0993f1011474454eeb /src/OSSupport/TCPLinkImpl.cpp | |
parent | cNetwork: Added link creation callback. (diff) | |
download | cuberite-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.cpp | 2 |
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; |