From 0b37c599e9299091655b1c1f0e6ed4dd1b7ddf4f Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 4 Mar 2016 21:08:30 +0100 Subject: [PATCH] zookeeper plugin: constify --- src/zookeeper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zookeeper.c b/src/zookeeper.c index 539795c0..1eed1fb3 100644 --- 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; + const char *host; + const char *port; memset ((void *) &ai_hints, '\0', sizeof (ai_hints)); ai_hints.ai_family = AF_UNSPEC; -- 2.30.2