summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/ipc.cpp6
-rw-r--r--src/net/ipc.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp
index 0c6b36a3b..30b1afdea 100644
--- a/src/net/ipc.cpp
+++ b/src/net/ipc.cpp
@@ -37,11 +37,11 @@
IPC *ipc = nullptr;
IPC::IPC() :
- mListen(false),
mNumReqs(0),
- mPort(44007),
mSocket(nullptr),
- mThread(nullptr)
+ mThread(nullptr),
+ mPort(44007U),
+ mListen(false)
{
}
diff --git a/src/net/ipc.h b/src/net/ipc.h
index 5e3ecdd1a..6d7f88ecc 100644
--- a/src/net/ipc.h
+++ b/src/net/ipc.h
@@ -55,11 +55,11 @@ private:
void setPort(const unsigned short port)
{ mPort = port; }
- bool mListen;
unsigned int mNumReqs;
- unsigned short mPort;
TcpNet::Socket mSocket;
SDL_Thread *mThread;
+ unsigned short mPort;
+ bool mListen;
};
extern IPC *ipc;