Commit b54762a8 authored by Max Kellermann's avatar Max Kellermann

event/ServerSocket: fix assertion failure

Regression from previous commit. D'oh!
parent bcae8619
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment