mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
squash bugs
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user