mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 12:13:51 +00:00
Revert accidentally pushed "LCEMP RCE fixes"
This reverts commit d557ca2dfb.
This commit is contained in:
parent
d557ca2dfb
commit
a358a3caae
27 changed files with 80 additions and 222 deletions
|
|
@ -108,8 +108,8 @@ Connection::Connection(Socket *socket, const wstring& id, PacketListener *packet
|
|||
const char *szId = wstringtofilename(id);
|
||||
char readThreadName[256];
|
||||
char writeThreadName[256];
|
||||
sprintf_s(readThreadName, sizeof(readThreadName), "%.240s read\n", szId);
|
||||
sprintf_s(writeThreadName, sizeof(writeThreadName), "%.240s write\n", szId);
|
||||
sprintf(readThreadName,"%s read\n",szId);
|
||||
sprintf(writeThreadName,"%s write\n",szId);
|
||||
|
||||
readThread = new C4JThread(runRead, static_cast<void *>(this), readThreadName, READ_STACK_SIZE);
|
||||
writeThread = new C4JThread(runWrite, this, writeThreadName, WRITE_STACK_SIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue