From 19cbe81d334beed6f648adecb4faba13b0e520dc Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 17:21:49 +0100 Subject: [PATCH] tokyotyrant plugin: constify --- src/tokyotyrant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c index f04a5fce..befbd50a 100644 --- a/src/tokyotyrant.c +++ b/src/tokyotyrant.c @@ -106,8 +106,8 @@ static void tt_submit (gauge_t val, const char* type) static void tt_open_db (void) { - char* host = NULL; - int port = DEFAULT_PORT; + const char *host; + int port = DEFAULT_PORT; if (rdb != NULL) return; -- 2.30.2