X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapcups.c;h=2931d2c08d146d4ba8210dd0ac4bb95d01e5f1c5;hb=9f1354b34feaf1e30284e14895a4b71adbcc7980;hp=4b3f7b5c9de7b5120840e7233ca0c6c671106ca2;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37;p=collectd.git diff --git a/src/apcups.c b/src/apcups.c index 4b3f7b5c..2931d2c0 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -70,16 +70,16 @@ typedef struct { * Private variables */ /* Default values for contacting daemon */ -static char *conf_node = NULL; -static char *conf_service = NULL; +static char *conf_node; +static char *conf_service; /* Defaults to false for backwards compatibility. */ static bool conf_report_seconds; static bool conf_persistent_conn = true; static int global_sockfd = -1; -static int count_retries = 0; -static int count_iterations = 0; +static int count_retries; +static int count_iterations; static int net_shutdown(int *fd) { uint16_t packet_size = 0;