Commit a533f106fd31f74edc7aa60a56ee94150a2a01b0

Con Kolivas 2012-10-11T00:08:45

Update reconnect message to show whole address including port.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index e12a9f7..316410d 100644
--- a/util.c
+++ b/util.c
@@ -1117,7 +1117,7 @@ static bool parse_reconnect(struct pool *pool, json_t *val)
 
 	pool->stratum_url = pool->sockaddr_url;
 
-	applog(LOG_NOTICE, "Reconnect requested from pool %d to %s", pool->pool_no, pool->stratum_url);
+	applog(LOG_NOTICE, "Reconnect requested from pool %d to %s", pool->pool_no, address);
 
 	if (!initiate_stratum(pool) || !auth_stratum(pool))
 		return false;