From 9bf0ad18a49bbdea72db9bdba9870f436c4671e3 Mon Sep 17 00:00:00 2001 From: Kano Date: Sun, 1 Jan 2012 16:07:48 +1100 Subject: [PATCH] Display pool in summary if only 1 pool --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index cf5fabef..cded16d7 100644 --- a/main.c +++ b/main.c @@ -5392,6 +5392,8 @@ static void print_summary(void) applog(LOG_WARNING, "\nSummary of runtime statistics:\n"); applog(LOG_WARNING, "Started at %s", datestamp); + if (total_pools == 1) + applog(LOG_WARNING, "Pool: %s", pools[0]->rpc_url); if (opt_n_threads) applog(LOG_WARNING, "CPU hasher algorithm used: %s", algo_names[opt_algo]); applog(LOG_WARNING, "Runtime: %d hrs : %d mins : %d secs", hours, mins, secs);