Browse Source

User ID is an integer in workerinfo

master
Con Kolivas 10 years ago
parent
commit
f3a826d30f
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -2593,7 +2593,7 @@ static json_t *workerinfo(const user_instance_t *user, const worker_instance_t *
{ {
json_t *val; json_t *val;
JSON_CPACK(val, "{ss,ss,sI,sf,sf,sf,sf,si,sf,si,sb}", JSON_CPACK(val, "{ss,ss,si,sf,sf,sf,sf,si,sf,si,sb}",
"user", user->username, "worker", worker->workername, "id", user->id, "user", user->username, "worker", worker->workername, "id", user->id,
"dsps1", worker->dsps1, "dsps5", worker->dsps5, "dsps60", worker->dsps60, "dsps1", worker->dsps1, "dsps5", worker->dsps5, "dsps60", worker->dsps60,
"dsps1440", worker->dsps1440, "lastshare", worker->last_share.tv_sec, "dsps1440", worker->dsps1440, "lastshare", worker->last_share.tv_sec,

Loading…
Cancel
Save