projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mqtt, gps: add name parameter to plugin_thread_create()
[collectd.git]
/
src
/
unixsock.c
diff --git
a/src/unixsock.c
b/src/unixsock.c
index
73037e4
..
4a7652a
100644
(file)
--- a/
src/unixsock.c
+++ b/
src/unixsock.c
@@
-378,7
+378,7
@@
static void *us_server_thread (void __attribute__((unused)) *arg)
DEBUG ("Spawning child to handle connection on fd #%i", *remote_fd);
status = plugin_thread_create (&th, &th_attr,
DEBUG ("Spawning child to handle connection on fd #%i", *remote_fd);
status = plugin_thread_create (&th, &th_attr,
- us_handle_client, (void *) remote_fd);
+ us_handle_client, (void *) remote_fd
, "unixsock client"
);
if (status != 0)
{
char errbuf[1024];
if (status != 0)
{
char errbuf[1024];
@@
-459,7
+459,7
@@
static int us_init (void)
loop = 1;
status = plugin_thread_create (&listen_thread, NULL,
loop = 1;
status = plugin_thread_create (&listen_thread, NULL,
- us_server_thread, NULL);
+ us_server_thread, NULL
, "unixsock listener"
);
if (status != 0)
{
char errbuf[1024];
if (status != 0)
{
char errbuf[1024];