X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fzookeeper.c;h=9c70ea573f8f68988e1a350adeb45f4916c98193;hp=1de01d0050ef547a14c57a257f8301c3429d3132;hb=54619dc85fd308b21ed09a0271e5c7383c7921b9;hpb=a18496a4ac759552fd4dac1d2c661fb50285b1a1 diff --git a/src/zookeeper.c b/src/zookeeper.c index 1de01d00..9c70ea57 100644 --- a/src/zookeeper.c +++ b/src/zookeeper.c @@ -26,8 +26,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include #include @@ -37,8 +37,8 @@ #define ZOOKEEPER_DEF_HOST "127.0.0.1" #define ZOOKEEPER_DEF_PORT "2181" -static char *zk_host = NULL; -static char *zk_port = NULL; +static char *zk_host; +static char *zk_port; static const char *config_keys[] = {"Host", "Port"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);