Removed unnecessary check
This commit is contained in:
parent
f39f21b56f
commit
b8de3ae504
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ namespace SimpleWeb {
|
||||||
}
|
}
|
||||||
|
|
||||||
for(auto it = connections.begin(); it != connections.end(); ++it) {
|
for(auto it = connections.begin(); it != connections.end(); ++it) {
|
||||||
if(!(*it)->in_use && !connection) {
|
if(!(*it)->in_use) {
|
||||||
connection = *it;
|
connection = *it;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue