jsoninfo: initialise outbuffer_count
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Nov 2015 18:51:15 +0000 (19:51 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 27 Nov 2015 09:17:22 +0000 (10:17 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo.c

index 4818143..b52ba74 100644 (file)
@@ -161,7 +161,7 @@ static char *outbuffer[MAX_CLIENTS];
 static size_t outbuffer_size[MAX_CLIENTS];
 static size_t outbuffer_written[MAX_CLIENTS];
 static int outbuffer_socket[MAX_CLIENTS];
-static int outbuffer_count;
+static int outbuffer_count = 0;
 
 char uuid[UUIDLEN + 1];
 char uuidfile[FILENAME_MAX];