diff options
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index ed1ac326e..f9550c54f 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -980,7 +980,7 @@ void Server::AsyncRunStep(bool initial_step) void Server::Receive() { - session_t peer_id; + session_t peer_id = 0; try { NetworkPacket pkt; m_con->Receive(&pkt); |