summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
committermadmaxoft <github@xoft.cz>2014-07-19 14:53:41 +0200
commit00c524519ef6c7ceaf4ac91307617cfd65d7cf21 (patch)
tree3587ecc98aada0ce36da33e50a1d460c17129b3e /src/OSSupport
parentMerge pull request #1214 from mc-server/anti-glob (diff)
downloadcuberite-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 'src/OSSupport')
-rw-r--r--src/OSSupport/Socket.cpp2
-rw-r--r--src/OSSupport/Thread.cpp8
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