From: Ruben Kerkhof Date: Fri, 4 Mar 2016 20:06:15 +0000 (+0100) Subject: memcached plugin: constify X-Git-Tag: collectd-5.6.0~440 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1849292bba96e81a859eb61c830b4553a755825e;p=collectd.git memcached plugin: constify --- diff --git a/src/memcached.c b/src/memcached.c index d7578b62..2c01a576 100644 --- a/src/memcached.c +++ b/src/memcached.c @@ -98,8 +98,8 @@ static int memcached_connect_unix (memcached_t *st) static int memcached_connect_inet (memcached_t *st) { - char *host; - char *port; + const char *host; + const char *port; struct addrinfo ai_hints; struct addrinfo *ai_list, *ai_ptr;