Fixed macro redefinition. Set money won in server.

This commit is contained in:
lotodore
2007-10-29 22:37:42 +00:00
parent 1a5a5600ce
commit 26157027dc
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
using namespace std;
#define SEND_TIMEOUT_MSEC 2000
#define SEND_ERROR_TIMEOUT_MSEC 2000
SenderThread::SenderThread(SenderCallback &cb)
: m_tmpOutBufSize(0), m_callback(cb)
@@ -117,7 +117,7 @@ SenderThread::Main()
while (!ShouldTerminate())
{
if (sendTimer.is_running() && sendTimer.elapsed().total_milliseconds() > SEND_TIMEOUT_MSEC)
if (sendTimer.is_running() && sendTimer.elapsed().total_milliseconds() > SEND_ERROR_TIMEOUT_MSEC)
{
RemoveCurSendData();
sendTimer.reset();