X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftokyotyrant.c;h=befbd50a91c52d1464e03934076ec7145c40b209;hb=43ef00c0eb99991902d3c9a5fbe582cde049b055;hp=f04a5fceb3a51b9ae3b9738d505f5ee977b896f3;hpb=2cf10557f58144e13793a3d69ae5d4b7c8d6c305;p=collectd.git 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;