Browse Source

Correctly initialise gbtbase to 0.

master
Con Kolivas 8 years ago
parent
commit
039efd9266
  1. 2
      src/generator.c

2
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;

Loading…
Cancel
Save