minor fix
Costa Tsaousis (ktsaou) committed
May 2, 2014 at 10:06 UTC
615f15b87e2b0c33feb2215dc9b21648465bcb38
1 file changed
+1
-1
netdata.c
+1
-1
@@ -5760,7 +5760,7 @@ void *chartsd_main(void *ptr)
5760
5761
if(strcmp(file->d_name, ".") == 0 || strcmp(file->d_name, "..") == 0) continue;
5762
5763
- int len = strlen(file->d_name);
5763
+ long len = strlen(file->d_name);
5764
if(len <= CHARTS_D_FILE_SUFFIX_LEN) continue;
5765
if(strcmp(CHARTS_D_FILE_SUFFIX, &file->d_name[len - CHARTS_D_FILE_SUFFIX_LEN]) != 0) {
5766
debug(D_CHARTSD, "CHARTSD: File '%s' does not end in '%s'.", file->d_name, CHARTS_D_FILE_SUFFIX);