diff --git a/api.c b/api.c index 425c242f..4f63466f 100644 --- a/api.c +++ b/api.c @@ -3737,7 +3737,7 @@ void api(int api_thr_id) json_t *json_config = NULL; json_t *json_val; bool isjson; - bool did, isjoin, firstjoin; + bool did, isjoin = false, firstjoin; int i; SOCKETTYPE *apisock;