From c7e32300f186f9a180fdf46f545b82e974a991af Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 29 Aug 2014 14:03:55 +1000 Subject: [PATCH] Fix unnecessary warning in standalone mode --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 31285670..6d073c36 100644 --- a/src/stratifier.c +++ b/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);