X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnginx.c;h=7bb307a3985bfe2a27dbf1fb4f9a9811a5ffd955;hb=6378ec288f34ff250b2971a1452338a2b34c240a;hp=23feb1cdbb284a1339c930bee58b621de7065e50;hpb=a396da422740caf336a6d594515e8d80de6f440a;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index 23feb1cd..7bb307a3 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -28,8 +28,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include @@ -44,7 +44,7 @@ static char *timeout; static CURL *curl; static char nginx_buffer[16384]; -static size_t nginx_buffer_len = 0; +static size_t nginx_buffer_len; static char nginx_curl_error[CURL_ERROR_SIZE]; static const char *config_keys[] = {