From 2a087a7dae57678c9dccf5b1857cec31a1b58f33 Mon Sep 17 00:00:00 2001 From: troky Date: Fri, 11 Apr 2014 10:58:05 +0200 Subject: [PATCH] Added algorithm name to 'pools' API command. --- api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api.c b/api.c index d0a5bce9..e71db958 100644 --- a/api.c +++ b/api.c @@ -1820,6 +1820,7 @@ static void poolstatus(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __m 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, "Algorithm", pool->algorithm.name, false); root = api_add_string(root, "Description", pool->description, false); root = api_add_string(root, "Status", status, false); root = api_add_int(root, "Priority", &(pool->prio), false);