event/ServerSocket: fix assertion failure
Regression from previous commit. D'oh!
This commit is contained in:
parent
bcae86196c
commit
b54762a8f6
@ -231,7 +231,7 @@ ServerSocket::Open(Error &error)
|
|||||||
|
|
||||||
for (auto &i : sockets) {
|
for (auto &i : sockets) {
|
||||||
assert(i.GetSerial() > 0);
|
assert(i.GetSerial() > 0);
|
||||||
assert(good == nullptr || i.GetSerial() <= good->GetSerial());
|
assert(good == nullptr || i.GetSerial() >= good->GetSerial());
|
||||||
|
|
||||||
if (bad != nullptr && i.GetSerial() != bad->GetSerial()) {
|
if (bad != nullptr && i.GetSerial() != bad->GetSerial()) {
|
||||||
Close();
|
Close();
|
||||||
|
Loading…
Reference in New Issue
Block a user