From 428061e41625599038a850e50c740afb0ee9229f Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Fri, 28 Feb 2014 23:53:09 +0200 Subject: [PATCH] pool: display URL instead of "Pool N" if no poolname provided. This works since get_pool_name() in pool.c checks if an empty string is provided, and uses the URL instead if so. --- sgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index 5668bd2d..b278f0ab 100644 --- a/sgminer.c +++ b/sgminer.c @@ -528,7 +528,7 @@ struct pool *add_pool(void) /* Default pool name */ char buf[32]; - sprintf(buf, "Pool %d", pool->pool_no); + sprintf(buf, "", pool->pool_no); pool->poolname = strdup(buf); pools = (struct pool **)realloc(pools, sizeof(struct pool *) * (total_pools + 2));