aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-30 17:38:07 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-30 17:38:07 +0400
commit7c778294a9625ee4954f784763495e05af513510 (patch)
tree029fce68bd78c08657c866e66d8dea6eb94aa719 /src
parent0ae3c0c560c0bc3d3b8b1232d9abf001af88d0f3 (diff)
downloadrspamd-7c778294a9625ee4954f784763495e05af513510.tar.gz
rspamd-7c778294a9625ee4954f784763495e05af513510.zip
* Fix quit command in controller interface
Diffstat (limited to 'src')
-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;