lua plugin: don't elements from stack in `clua_store_thread`.
[collectd.git] / src / apache.c
index 5ebd044..d64e547 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "collectd.h"
 
-#include "common.h"
 #include "plugin.h"
+#include "utils/common/common.h"
 
 #include <curl/curl.h>
 
@@ -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 */