X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fnut.c;h=1d1e94b521cc9fdd02a19e58e828ba2c182d3795;hp=58c7d797c4d4d8b93083c97e1223064eb246d892;hb=ec51ddee94fa2ba1e01fe0e336ccc9c190a198ff;hpb=1b10ab706f8b70ce2f086e59a54cc09d671ad989 diff --git a/src/nut.c b/src/nut.c index 58c7d797..1d1e94b5 100644 --- a/src/nut.c +++ b/src/nut.c @@ -53,11 +53,11 @@ struct nut_ups_s { static const char *config_keys[] = {"UPS", "FORCESSL", "VERIFYPEER", "CAPATH", "CONNECTTIMEOUT"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static int force_ssl = 0; // Initialized to default of 0 (false) -static int verify_peer = 0; // Initialized to default of 0 (false) +static int force_ssl; // Initialized to default of 0 (false) +static int verify_peer; // Initialized to default of 0 (false) static int ssl_flags = UPSCLI_CONN_TRYSSL; static int connect_timeout = -1; -static char *ca_path = NULL; +static char *ca_path; static int nut_read(user_data_t *user_data);