event/ServerSocket: fix assertion failure

Regression from previous commit.  D'oh!
This commit is contained in:
Max Kellermann 2013-11-04 20:16:28 +01:00
parent bcae86196c
commit b54762a8f6

View File

@ -231,7 +231,7 @@ ServerSocket::Open(Error &error)
for (auto &i : sockets) {
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()) {
Close();