aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/ClientRead.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ClientRead.cxx')
-rw-r--r--src/client/ClientRead.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/ClientRead.cxx b/src/client/ClientRead.cxx
index 19deebd52..1ec6d29d5 100644
--- a/src/client/ClientRead.cxx
+++ b/src/client/ClientRead.cxx
@@ -19,7 +19,8 @@
#include "config.h"
#include "ClientInternal.hxx"
-#include "Main.hxx"
+#include "Partition.hxx"
+#include "Instance.hxx"
#include "event/Loop.hxx"
#include "util/CharUtil.hxx"
@@ -53,7 +54,7 @@ Client::OnSocketInput(void *data, size_t length)
case CommandResult::KILL:
Close();
- main_loop->Break();
+ partition.instance.event_loop->Break();
return InputResult::CLOSED;
case CommandResult::FINISH: