Browse Source

send_recv_auth field count

master
kanoi 11 years ago
parent
commit
56e5c8e26c
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1174,7 +1174,7 @@ static bool send_recv_auth(stratum_instance_t *client)
ts_realtime(&now); ts_realtime(&now);
sprintf(cdfield, "%lu,%lu", now.tv_sec, now.tv_nsec); sprintf(cdfield, "%lu,%lu", now.tv_sec, now.tv_nsec);
val = json_pack("{ss,ss,ss,ss,si,ss,ss,ss,ss}", val = json_pack("{ss,ss,ss,ss,si,ss,ss,ss,ss,ss}",
"username", client->user_instance->username, "username", client->user_instance->username,
"workername", client->workername, "workername", client->workername,
"poolinstance", ckp->name, "poolinstance", ckp->name,

Loading…
Cancel
Save