projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1849292
)
zookeeper plugin: constify
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
539795c
..
1eed1fb
100644
(file)
--- a/
src/zookeeper.c
+++ b/
src/zookeeper.c
@@
-108,8
+108,8
@@
static int zookeeper_connect (void)
struct addrinfo ai_hints;
struct addrinfo *ai;
struct addrinfo *ai_list;
- char *host;
- char *port;
+ c
onst c
har *host;
+ c
onst c
har *port;
memset ((void *) &ai_hints, '\0', sizeof (ai_hints));
ai_hints.ai_family = AF_UNSPEC;