summaryrefslogtreecommitdiffstats
path: root/tests/Network
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 /tests/Network
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 '')
-rw-r--r--tests/Network/Google.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Network/Google.cpp b/tests/Network/Google.cpp
index 8985eef17..2b8830c24 100644
--- a/tests/Network/Google.cpp
+++ b/tests/Network/Google.cpp
@@ -17,7 +17,7 @@ class cHTTPConnectCallbacks:
public cNetwork::cConnectCallbacks
{
cEvent & m_Event;
- virtual void OnSuccess(cTCPLink & a_Link) override
+ virtual void OnConnected(cTCPLink & a_Link) override
{
LOGD("Connected, sending HTTP GET");
if (!a_Link.Send("GET / HTTP/1.0\r\nHost:google.com\r\n\r\n"))