diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx index 24213ab9e..e1fbb34ff 100644 --- a/src/event/ServerSocket.cxx +++ b/src/event/ServerSocket.cxx @@ -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();