Code

Changed the max value of cache_size in types.db to handle boxes with large amounts...
[collectd.git] / src / curl_json.c
index 00993c0e706c8f519c4423f57b44adc09e5c6325..80632424785ae697b8a809588cac5f1b2e61ba15 100644 (file)
@@ -28,7 +28,6 @@
 #include "utils_avltree.h"
 #include "utils_complain.h"
 
-#include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/un.h>
 
@@ -563,7 +562,7 @@ static int cj_config_add_key (cj_t *db, /* {{{ */
       if (*ptr == '/')
       {
         c_avl_tree_t *value;
-        int len;
+        size_t len;
 
         len = ptr-name;
         if (len == 0)