X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ftokyotyrant.c;h=59b7a3422d5ba2883cc2ed784031e85781a51067;hp=1534f51efa21a402f376a0ecead0009dc25b1467;hb=54619dc85fd308b21ed09a0271e5c7383c7921b9;hpb=1035fba8812893e50d00a871e3399cc1ece3b384 diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c index 1534f51e..59b7a342 100644 --- a/src/tokyotyrant.c +++ b/src/tokyotyrant.c @@ -21,8 +21,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include "utils_cache.h" #include @@ -33,10 +33,10 @@ static const char *config_keys[] = {"Host", "Port"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static char *config_host = NULL; -static char *config_port = NULL; +static char *config_host; +static char *config_port; -static TCRDB *rdb = NULL; +static TCRDB *rdb; static int tt_config(const char *key, const char *value) { if (strcasecmp("Host", key) == 0) {