From: Andrew Bays Date: Mon, 19 Nov 2018 18:16:41 +0000 (-0500) Subject: Fix stop_threads call X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7d20ec62a13d21d4cd236675171227dc29bf1dc0;p=collectd.git Fix stop_threads call --- diff --git a/src/sysevent.c b/src/sysevent.c index 83924c8d..ecbd2eb4 100644 --- a/src/sysevent.c +++ b/src/sysevent.c @@ -1085,7 +1085,7 @@ static int sysevent_read(void) /* {{{ */ "Restarting it.", sysevent_socket_thread_error); - stop_threads(0); + stop_threads(); start_threads(); @@ -1101,7 +1101,7 @@ static int sysevent_shutdown(void) /* {{{ */ { DEBUG("sysevent plugin: Shutting down thread."); - int status = stop_threads(1); + int status = stop_threads(); int status2 = 0; if (sock != -1) {