Browse Source

Fix unnecessary warning in standalone mode

master
Con Kolivas 10 years ago
parent
commit
c7e32300f1
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -1911,7 +1911,8 @@ out_unlock:
json_set_int(val, "workinfoid", id);
json_set_int(val, "clientid", client->id);
json_set_string(val, "enonce1", client->enonce1);
json_set_string(val, "secondaryuserid", user_instance->secondaryuserid);
if (!ckp->standalone)
json_set_string(val, "secondaryuserid", user_instance->secondaryuserid);
json_set_string(val, "nonce2", nonce2);
json_set_string(val, "nonce", nonce);
json_set_string(val, "ntime", ntime);

Loading…
Cancel
Save