X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fapcups.c;fp=src%2Fapcups.c;h=2931d2c08d146d4ba8210dd0ac4bb95d01e5f1c5;hp=4e84ebd22ff8a5f6c80f26000c4e5eaa7b234186;hb=ec51ddee94fa2ba1e01fe0e336ccc9c190a198ff;hpb=a396da422740caf336a6d594515e8d80de6f440a diff --git a/src/apcups.c b/src/apcups.c index 4e84ebd2..2931d2c0 100644 --- a/src/apcups.c +++ b/src/apcups.c @@ -78,8 +78,8 @@ 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;