aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-04 20:16:28 +0100
committerMax Kellermann <max@duempel.org>2013-11-04 20:16:28 +0100
commitb54762a8f67ef860762dcf50354919194b040281 (patch)
tree205403093574fda487fadcc62b15fdd08e7ad670
parentbcae86196c44baf198534ecec20dc1b8908992f8 (diff)
downloadmpd-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.cxx2
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();