summaryrefslogtreecommitdiffstats
path: root/source/cHeartBeat.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 15:08:12 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 15:08:12 +0100
commitcb1ce1416948bea94bd0bb4bb3a66a74cc16557b (patch)
tree9809332db528931f427a3ca6f46d46f561a644be /source/cHeartBeat.cpp
parentAString logging fix (diff)
downloadcuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.gz
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.bz2
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.lz
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.xz
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.tar.zst
cuberite-cb1ce1416948bea94bd0bb4bb3a66a74cc16557b.zip
Diffstat (limited to 'source/cHeartBeat.cpp')
-rw-r--r--source/cHeartBeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cHeartBeat.cpp b/source/cHeartBeat.cpp
index fd1cdc805..e8c49454d 100644
--- a/source/cHeartBeat.cpp
+++ b/source/cHeartBeat.cpp
@@ -119,7 +119,7 @@ void cHeartBeat::SendUpdate()
AString sPort;
Printf(sPort, "%i", Port);
AString sChecksum = md5( m_ServerID + sPort );
- Printf(Msg, "GET http://master.mc-server.org/?update=%s&checksum=%s&port=%d\n", m_ServerID, sChecksum , Port);
+ Printf(Msg, "GET http://master.mc-server.org/?update=%s&checksum=%s&port=%d\n", m_ServerID.c_str(), sChecksum.c_str(), Port);
SendMessage(Msg.c_str());
}
}