summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Sluift/sluift.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/sluift.cpp b/Sluift/sluift.cpp
index 397d7f3..722fb54 100644
--- a/Sluift/sluift.cpp
+++ b/Sluift/sluift.cpp
@@ -141,7 +141,7 @@ class SluiftClient {
return event;
}
Watchdog watchdog(timeout, networkFactories.getTimerFactory());
- while (!watchdog.getTimedOut() && pendingEvents.empty() && !client->isActive()) {
+ while (!watchdog.getTimedOut() && pendingEvents.empty() && client->isActive()) {
eventLoop.runUntilEvents();
}
if (watchdog.getTimedOut() || !client->isActive()) {