X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fbind.c;h=2d10aba86eb0087b287f70d48f22a8712d0d7b5b;hp=cc5aa593dd34680973d0b8a89f051c68a924730c;hb=a396da422740caf336a6d594515e8d80de6f440a;hpb=6c170c99262c1d9678943122428f6d9f1353aaf6 diff --git a/src/bind.c b/src/bind.c index cc5aa593..2d10aba8 100644 --- a/src/bind.c +++ b/src/bind.c @@ -106,7 +106,7 @@ typedef struct list_info_ptr_s list_info_ptr_t; /* TODO: Remove time parsing code. */ static bool config_parse_time = true; -static char *url = NULL; +static char *url; static int global_opcodes = 1; static int global_qtypes = 1; static int global_server_stats = 1; @@ -115,12 +115,12 @@ static int global_resolver_stats = 0; static int global_memory_stats = 1; static int timeout = -1; -static cb_view_t *views = NULL; +static cb_view_t *views; static size_t views_num = 0; -static CURL *curl = NULL; +static CURL *curl; -static char *bind_buffer = NULL; +static char *bind_buffer; static size_t bind_buffer_size = 0; static size_t bind_buffer_fill = 0; static char bind_curl_error[CURL_ERROR_SIZE];