From 807d5a403cd3f56e17ee6884a8f3392ddc56dc52 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 25 Nov 2014 23:25:58 +1100 Subject: [PATCH] Only add secondaryuserid with ckdb --- src/stratifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 1741950c..c248f7aa 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2518,7 +2518,8 @@ out: if (!share) { val = json_object(); json_set_int(val, "clientid", client->id); - json_set_string(val, "secondaryuserid", user_instance->secondaryuserid); + if (!CKP_STANDALONE(ckp)) + json_set_string(val, "secondaryuserid", user_instance->secondaryuserid); json_set_string(val, "enonce1", client->enonce1); json_set_int(val, "workinfoid", current_workbase->id); json_set_string(val, "workername", client->workername);