From ad75ab49d542de7e242e42da78c52ac74e916d5a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 6 Aug 2014 23:42:12 +1000 Subject: [PATCH] Avoid userpass deref --- src/generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.c b/src/generator.c index b0fc61c5..312545c0 100644 --- a/src/generator.c +++ b/src/generator.c @@ -155,8 +155,8 @@ retry: /* Test we can connect, authorise and get a block template */ gbt = si->data; if (!gen_gbtbase(cs, gbt)) { - LOGINFO("Failed to get test block template from %s:%s auth %s !", - cs->url, cs->port, userpass); + LOGINFO("Failed to get test block template from %s:%s!", + cs->url, cs->port); continue; } clear_gbtbase(gbt);