X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapcups.c;h=2931d2c08d146d4ba8210dd0ac4bb95d01e5f1c5;hb=b9b5e5d573d0011c4f3276e9b84b73ba4dd2e870;hp=4b3f7b5c9de7b5120840e7233ca0c6c671106ca2;hpb=6e41c3b1f024d7944e5e8010a87933555c662474;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;