diff options
author | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-19 14:53:41 +0200 |
commit | 00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch) | |
tree | 3587ecc98aada0ce36da33e50a1d460c17129b3e /src/OSSupport | |
parent | Merge pull request #1214 from mc-server/anti-glob (diff) | |
download | cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.gz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.bz2 cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.lz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.xz cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.tar.zst cuberite-00c524519ef6c7ceaf4ac91307617cfd65d7cf21.zip |
Diffstat (limited to '')
-rw-r--r-- | src/OSSupport/Socket.cpp | 2 | ||||
-rw-r--r-- | src/OSSupport/Thread.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/OSSupport/Socket.cpp b/src/OSSupport/Socket.cpp index 7d4d9e598..47d9f331d 100644 --- a/src/OSSupport/Socket.cpp +++ b/src/OSSupport/Socket.cpp @@ -138,7 +138,7 @@ int cSocket::WSAStartup(void) #ifdef _WIN32 WSADATA wsaData; memset(&wsaData, 0, sizeof(wsaData)); - return ::WSAStartup(MAKEWORD(2, 2),&wsaData); + return ::WSAStartup(MAKEWORD(2, 2), &wsaData); #else return 0; #endif diff --git a/src/OSSupport/Thread.cpp b/src/OSSupport/Thread.cpp index 084e0810e..163c9b0c9 100644 --- a/src/OSSupport/Thread.cpp +++ b/src/OSSupport/Thread.cpp @@ -92,11 +92,11 @@ void cThread::Start( bool a_bWaitOnDelete /* = true */ ) #else DWORD ThreadID = 0; HANDLE hThread = CreateThread(NULL // security - ,0 // stack size + , 0 // stack size , (LPTHREAD_START_ROUTINE) MyThread // function name - ,this // parameters - ,0 // flags - ,&ThreadID ); // thread id + , this // parameters + , 0 // flags + , &ThreadID ); // thread id CloseHandle( hThread ); #ifdef _MSC_VER |