From 1849292bba96e81a859eb61c830b4553a755825e Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 4 Mar 2016 21:06:15 +0100 Subject: [PATCH] memcached plugin: constify --- src/memcached.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0