Browse Source

api.c Correct diff1 field name

nfactor-troky
Kano 12 years ago
parent
commit
381478e65c
  1. 2
      api.c

2
api.c

@ -1793,7 +1793,7 @@ static void poolstatus(__maybe_unused SOCKETTYPE c, __maybe_unused char *param, @@ -1793,7 +1793,7 @@ static void poolstatus(__maybe_unused SOCKETTYPE c, __maybe_unused char *param,
root = api_add_uint(root, "Remote Failures", &(pool->remotefail_occasions), false);
root = api_add_escape(root, "User", pool->rpc_user, false);
root = api_add_time(root, "Last Share Time", &(pool->last_share_time), false);
root = api_add_int(root, "Diff1 Shares", &(pool->diff1), false);
root = api_add_int(root, "Diff1 Work", &(pool->diff1), false);
if (isjson && (i > 0))
strcat(io_buffer, COMMA);

Loading…
Cancel
Save