aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/worker.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-15 18:52:56 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-15 18:52:56 +0200
commitc77c9a162a57ca140b922859b06cba6bcba3fb22 (patch)
tree7d3d71ddc43183fcc65ed1bbfa341568ee00caad /src/worker.c
parentdocker: fix failing valgrind runs (diff)
downloadcimple-c77c9a162a57ca140b922859b06cba6bcba3fb22.tar.gz
cimple-c77c9a162a57ca140b922859b06cba6bcba3fb22.zip
signal: refactoring, add comments in tcp_server, etc.
Diffstat (limited to '')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index a316d7f..d085000 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -27,7 +27,7 @@ int worker_create(struct worker **_worker)
{
int ret = 0;
- ret = signal_install_global_handler();
+ ret = signal_handle_stop_signals();
if (ret < 0)
return ret;