summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29ebcf5)
raw | patch | inline | side by side (parent: 29ebcf5)
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 89ec6d267dd9c98f7a6a1b3d0401578e4343bd65..860e93d768e927dffa81a18a614f9cabda82bb42 100644 (file)
--- a/src/zookeeper.c
+++ b/src/zookeeper.c
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;