From cb1ce1416948bea94bd0bb4bb3a66a74cc16557b Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 1 Feb 2012 14:08:12 +0000 Subject: AString logging fix 2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@218 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cHeartBeat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cHeartBeat.cpp') 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()); } } -- cgit v1.2.3