From 9414592539e761804014869216af9e8343143e6a Mon Sep 17 00:00:00 2001 From: troky Date: Thu, 20 Mar 2014 20:54:52 +0100 Subject: [PATCH] Added pool name to API "pools" command --- api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api.c b/api.c index e2fabc70..222ec2d9 100644 --- a/api.c +++ b/api.c @@ -1820,6 +1820,7 @@ static void poolstatus(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __m lp = (char *)NO; root = api_add_int(root, "POOL", &i, false); + root = api_add_string(root, "Name", pool->name, false); root = api_add_escape(root, "URL", pool->rpc_url, false); root = api_add_string(root, "Status", status, false); root = api_add_int(root, "Priority", &(pool->prio), false);