X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Funixsock.c;h=522271c6627e52913d454b656dbaf6d983bf229c;hp=be2af755c61c65c8a0ebffb8cd34c01631e484b3;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=a396da422740caf336a6d594515e8d80de6f440a diff --git a/src/unixsock.c b/src/unixsock.c index be2af755..522271c6 100644 --- a/src/unixsock.c +++ b/src/unixsock.c @@ -55,7 +55,7 @@ static const char *config_keys[] = {"SocketFile", "SocketGroup", "SocketPerms", "DeleteSocket"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static int loop = 0; +static int loop; /* socket configuration */ static int sock_fd = -1; @@ -361,7 +361,7 @@ static int us_config(const char *key, const char *val) { } /* int us_config */ static int us_init(void) { - static int have_init = 0; + static int have_init; int status;