|
|
@ -5331,9 +5331,9 @@ out: |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!share) { |
|
|
|
if (!share) { |
|
|
|
|
|
|
|
if (!CKP_STANDALONE(ckp)) { |
|
|
|
val = json_object(); |
|
|
|
val = json_object(); |
|
|
|
json_set_int(val, "clientid", client->id); |
|
|
|
json_set_int(val, "clientid", client->id); |
|
|
|
if (!CKP_STANDALONE(ckp)) |
|
|
|
|
|
|
|
json_set_string(val, "secondaryuserid", user->secondaryuserid); |
|
|
|
json_set_string(val, "secondaryuserid", user->secondaryuserid); |
|
|
|
json_set_string(val, "enonce1", client->enonce1); |
|
|
|
json_set_string(val, "enonce1", client->enonce1); |
|
|
|
json_set_int(val, "workinfoid", sdata->current_workbase->id); |
|
|
|
json_set_int(val, "workinfoid", sdata->current_workbase->id); |
|
|
@ -5346,6 +5346,7 @@ out: |
|
|
|
json_set_string(val, "createcode", __func__); |
|
|
|
json_set_string(val, "createcode", __func__); |
|
|
|
json_set_string(val, "createinet", ckp->serverurl[client->server]); |
|
|
|
json_set_string(val, "createinet", ckp->serverurl[client->server]); |
|
|
|
ckdbq_add(ckp, ID_SHAREERR, val); |
|
|
|
ckdbq_add(ckp, ID_SHAREERR, val); |
|
|
|
|
|
|
|
} |
|
|
|
LOGINFO("Invalid share from client %"PRId64": %s", client->id, client->workername); |
|
|
|
LOGINFO("Invalid share from client %"PRId64": %s", client->id, client->workername); |
|
|
|
} |
|
|
|
} |
|
|
|
free(fname); |
|
|
|
free(fname); |
|
|
|