summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/servers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index bb652f77b..cb0629e65 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -488,6 +488,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
}
this->connectors[i].CloseConnection();
has_been_netsplit = true;
+ break;
}
if (rcvsize == -1)
{
@@ -506,6 +507,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
}
has_been_netsplit = true;
this->connectors[i].CloseConnection();
+ break;
}
}
int pushed = 0;
@@ -525,6 +527,7 @@ bool serverrec::RecvPacket(std::deque<std::string> &messages, char* recvhost,std
}
has_been_netsplit = true;
this->connectors[i].CloseConnection();
+ break;
}
if (this->connectors[i].BufferIsComplete())
{