summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ChunkSender.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkSender.cpp b/src/ChunkSender.cpp
index 680f34bce..fdcd485a9 100644
--- a/src/ChunkSender.cpp
+++ b/src/ChunkSender.cpp
@@ -135,7 +135,8 @@ void cChunkSender::RemoveClient(cClientHandle * a_Client)
} // for itr - m_SendChunksLowPriority[]
for (sSendChunkList::iterator itr = m_SendChunksHighPriority.begin(); itr != m_SendChunksHighPriority.end();)
{
- if (itr->m_Client == a_Client) {
+ if (itr->m_Client == a_Client)
+ {
itr = m_SendChunksHighPriority.erase(itr);
continue;
}