From 77c996858b48affed54e41b44b415f1aa641775a Mon Sep 17 00:00:00 2001 From: Jan Berdajs Date: Mon, 9 Jun 2014 02:37:07 +0200 Subject: [PATCH] fix compiler warning and indentation --- sgminer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sgminer.c b/sgminer.c index 99e78f0a..24e43ea3 100644 --- a/sgminer.c +++ b/sgminer.c @@ -4238,12 +4238,12 @@ static bool test_work_current(struct work *work) if (work->longpoll) { work->work_block = ++work_block; if (shared_strategy() || work->pool == current_pool()) { - if(opt_morenotices) - if (work->stratum) { + if(opt_morenotices) { + if (work->stratum) applog(LOG_NOTICE, "Stratum from %s requested work restart", get_pool_name(pool)); - } else { + else applog(LOG_NOTICE, "%sLONGPOLL from %s requested work restart", work->gbt ? "GBT " : "", get_pool_name(pool)); - } + } restart_threads(); } }