summaryrefslogtreecommitdiff
path: root/src/helper/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/log.c')
-rw-r--r--src/helper/log.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index 567320cd..f8dc1a3a 100644
--- a/src/helper/log.c
+++ b/src/helper/log.c
@@ -27,6 +27,7 @@
#include "log.h"
#include "configuration.h"
#include "time_support.h"
+#include "command.h"
#include <stdio.h>
#include <stdlib.h>
@@ -368,6 +369,11 @@ void keep_alive()
LOG_USER_N("%s", "");
last_time=current_time;
}
+
+ /* also process TCL events (we have to do this from 'log.c' since its
+ * keep_alive() is the only routine guaranteed to be called at least
+ * once per second :( */
+ process_jim_events ();
}
/* reset keep alive timer without sending message */