diff options
Diffstat (limited to 'src/lua/lua_worker.c')
-rw-r--r-- | src/lua/lua_worker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_worker.c b/src/lua/lua_worker.c index a286069cb..badc50a72 100644 --- a/src/lua/lua_worker.c +++ b/src/lua/lua_worker.c @@ -746,7 +746,7 @@ rspamd_lua_subprocess_io (EV_P_ ev_io *w, int revents) /* Write reply to the child */ rspamd_socket_blocking (cbdata->sp[0]); memset (rep, 0, sizeof (rep)); - (void)write (cbdata->sp[0], rep, sizeof (rep)); + (void) !write (cbdata->sp[0], rep, sizeof (rep)); } } } @@ -891,4 +891,4 @@ void luaopen_worker (lua_State * L) { rspamd_lua_new_class (L, "rspamd{worker}", worker_reg); -}
\ No newline at end of file +} |