squash bugs

This commit is contained in:
DarthArgus
2015-10-27 21:19:20 -05:00
parent ab9c60957f
commit bd4f3699c2
4 changed files with 3 additions and 4 deletions
@@ -1006,7 +1006,7 @@ void ClientConnection::onReceive(const Archive::ByteStream & message)
else
{
//Forward on to Game Server
DEBUG_REPORT_LOG(!m_client || !m_client->getGameConnection()), ("Warn, received game message with no game connection. This may happen for a short time after a GameServer crashes. If it continues to happen, it indicates a bug.\n");
DEBUG_REPORT_LOG((!m_client || !m_client->getGameConnection()), ("Warn, received game message with no game connection. This may happen for a short time after a GameServer crashes. If it continues to happen, it indicates a bug.\n"));
if (m_client && m_client->getGameConnection())
{
@@ -1283,7 +1283,6 @@ void JavaLibrary::initializeJavaThread()
strcpy(profileBuffer,"-Xrunhprof:cpu=times");
tempOption.optionString = profileBuffer;
options.push_back(tempOption);
delete [] profileBuffer;
}
else
{
@@ -229,7 +229,7 @@ int FileStreamer::File::read(int offset, void *destinationBuffer, int numberOfBy
newRequest->bytesRead = 0;
newRequest->gate = gate;
newRequest->priority = priority;
newRequest->returnValue = returnValue;
newRequest->returnValue = &returnValue;
// submit the request
FileStreamerThread::submitRequest(newRequest);
@@ -115,7 +115,7 @@ public:
AbstractFile::PriorityType priority;
// storage held by game thread used to pass back return value
int returnValue;
int *returnValue;
public: