From 039efd92667e94db8a4aa3f534745c33d0df8a0a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 5 Jan 2017 11:29:05 +1100 Subject: [PATCH] Correctly initialise gbtbase to 0. --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index b6b153a0..a6896443 100644 --- a/src/generator.c +++ b/src/generator.c @@ -814,9 +814,9 @@ static void reconnect_generator(ckpool_t *ckp) json_t *generator_genbase(ckpool_t *ckp) { + gbtbase_t gbt = {.target={}}; gdata_t *gdata = ckp->gdata; server_instance_t *si; - gbtbase_t gbt = {}; json_t *val = NULL; connsock_t *cs;