Browse Source

Avoid userpass deref

master
Con Kolivas 10 years ago
parent
commit
ad75ab49d5
  1. 4
      src/generator.c

4
src/generator.c

@ -155,8 +155,8 @@ retry:
/* Test we can connect, authorise and get a block template */ /* Test we can connect, authorise and get a block template */
gbt = si->data; gbt = si->data;
if (!gen_gbtbase(cs, gbt)) { if (!gen_gbtbase(cs, gbt)) {
LOGINFO("Failed to get test block template from %s:%s auth %s !", LOGINFO("Failed to get test block template from %s:%s!",
cs->url, cs->port, userpass); cs->url, cs->port);
continue; continue;
} }
clear_gbtbase(gbt); clear_gbtbase(gbt);

Loading…
Cancel
Save