aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index b320eeb9b..424db1271 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -941,7 +941,7 @@ controller_read_socket (f_str_t * in, void *arg)
}
if (session->state == STATE_REPLY || session->state == STATE_QUIT) {
- (void)controller_write_socket (session);
+ return controller_write_socket (session);
}
return TRUE;