X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ftokyotyrant.c;h=59b7a3422d5ba2883cc2ed784031e85781a51067;hp=1534f51efa21a402f376a0ecead0009dc25b1467;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=9c6c1bdb92537f307d245c52349d3f196ec4d33d 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) {