projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ebcf5
)
zookeeper plugin: remove unneccesary cast
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 15 Jul 2016 20:13:47 +0000
(22:13 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 15 Jul 2016 20:13:47 +0000
(22:13 +0200)
src/zookeeper.c
patch
|
blob
|
history
diff --git
a/src/zookeeper.c
b/src/zookeeper.c
index
89ec6d2
..
860e93d
100644
(file)
--- a/
src/zookeeper.c
+++ b/
src/zookeeper.c
@@
-111,7
+111,7
@@
static int zookeeper_connect (void)
const char *host;
const char *port;
- memset (
(void *)
&ai_hints, '\0', sizeof (ai_hints));
+ memset (&ai_hints, '\0', sizeof (ai_hints));
ai_hints.ai_family = AF_UNSPEC;
ai_hints.ai_socktype = SOCK_STREAM;