1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

Added the stratum port to the status print

This commit is contained in:
Joe4782 2014-01-23 21:54:40 +00:00
parent 4de27856af
commit 712385160b

View File

@ -2039,8 +2039,8 @@ static void curses_print_status(void)
cg_mvwprintw(statuswin, 4, 0, "Connected to multiple pools with%s block change notify", cg_mvwprintw(statuswin, 4, 0, "Connected to multiple pools with%s block change notify",
have_longpoll ? "": "out"); have_longpoll ? "": "out");
} else if (pool->has_stratum) { } else if (pool->has_stratum) {
cg_mvwprintw(statuswin, 4, 0, "Connected to %s diff %s with stratum as user %s", cg_mvwprintw(statuswin, 4, 0, "Connected to %s:%s diff %s with stratum as user %s",
pool->sockaddr_url, pool->diff, pool->rpc_user); pool->sockaddr_url, pool->stratum_port, pool->diff, pool->rpc_user);
} else { } else {
cg_mvwprintw(statuswin, 4, 0, "Connected to %s diff %s with%s %s as user %s", cg_mvwprintw(statuswin, 4, 0, "Connected to %s diff %s with%s %s as user %s",
pool->sockaddr_url, pool->diff, have_longpoll ? "": "out", pool->sockaddr_url, pool->diff, have_longpoll ? "": "out",