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 /tests/Network | |
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 '')
-rw-r--r-- | tests/Network/Google.cpp | 2 |
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")) |