X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=d64e5471231109320b7b9d56288d7e49e96c80f5;hb=cc459b3cccf832e08d5c5bae12add775a915ae01;hp=5ebd044158cdc6257756234851aea3c55a0dcead;hpb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 5ebd0441..d64e5471 100644 --- a/src/apache.c +++ b/src/apache.c @@ -26,8 +26,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include @@ -224,8 +224,7 @@ static int config_add(oconfig_item_t *ci) { /* callback = */ apache_read_host, /* interval = */ 0, &(user_data_t){ - .data = st, - .free_func = apache_free, + .data = st, .free_func = apache_free, }); } /* int config_add */