projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'collectd-5.5'
[collectd.git]
/
src
/
unixsock.c
diff --git
a/src/unixsock.c
b/src/unixsock.c
index
795f7ab
..
1840e34
100644
(file)
--- a/
src/unixsock.c
+++ b/
src/unixsock.c
@@
-368,7
+368,7
@@
static void *us_server_thread (void __attribute__((unused)) *arg)
pthread_exit ((void *) 1);
}
- remote_fd =
(int *) malloc (sizeof (int
));
+ remote_fd =
malloc (sizeof (*remote_fd
));
if (remote_fd == NULL)
{
char errbuf[1024];