summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1849292)
raw | patch | inline | side by side (parent: 1849292)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 4 Mar 2016 20:08:30 +0000 (21:08 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 4 Mar 2016 20:08:30 +0000 (21:08 +0100) |
src/zookeeper.c | patch | blob | history |
diff --git a/src/zookeeper.c b/src/zookeeper.c
index 539795c0321563ea8a1179a50470bc4dde28453a..1eed1fb35d1b02281ea050cc12d9cffa250e2270 100644 (file)
--- a/src/zookeeper.c
+++ b/src/zookeeper.c
struct addrinfo ai_hints;
struct addrinfo *ai;
struct addrinfo *ai_list;
- char *host;
- char *port;
+ const char *host;
+ const char *port;
memset ((void *) &ai_hints, '\0', sizeof (ai_hints));
ai_hints.ai_family = AF_UNSPEC;