Browse Source

Added pool name to API "pools" command

build-mingw
troky 11 years ago
parent
commit
9414592539
  1. 1
      api.c

1
api.c

@ -1820,6 +1820,7 @@ static void poolstatus(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __m @@ -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);

Loading…
Cancel
Save