projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c720c8
)
Fix stop_threads call
author
Andrew Bays
<abays@redhat.com>
Mon, 19 Nov 2018 18:16:41 +0000
(13:16 -0500)
committer
Andrew Bays
<abays@redhat.com>
Mon, 19 Nov 2018 18:16:41 +0000
(13:16 -0500)
src/sysevent.c
patch
|
blob
|
history
diff --git
a/src/sysevent.c
b/src/sysevent.c
index
83924c8
..
ecbd2eb
100644
(file)
--- 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) {