diff options
author | Max Kellermann <max@duempel.org> | 2013-11-04 20:16:28 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-04 20:16:28 +0100 |
commit | b54762a8f67ef860762dcf50354919194b040281 (patch) | |
tree | 205403093574fda487fadcc62b15fdd08e7ad670 /src | |
parent | bcae86196c44baf198534ecec20dc1b8908992f8 (diff) | |
download | mpd-b54762a8f67ef860762dcf50354919194b040281.tar.gz mpd-b54762a8f67ef860762dcf50354919194b040281.tar.xz mpd-b54762a8f67ef860762dcf50354919194b040281.zip |
event/ServerSocket: fix assertion failure
Regression from previous commit. D'oh!
Diffstat (limited to '')
-rw-r--r-- | src/event/ServerSocket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |