From f3a826d30f2ec78fa9405e263c36891a18427fa2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 7 Jun 2015 08:16:33 +1000 Subject: [PATCH] User ID is an integer in workerinfo --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index b788266b..1b414411 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2593,7 +2593,7 @@ static json_t *workerinfo(const user_instance_t *user, const worker_instance_t * { json_t *val; - JSON_CPACK(val, "{ss,ss,sI,sf,sf,sf,sf,si,sf,si,sb}", + JSON_CPACK(val, "{ss,ss,si,sf,sf,sf,sf,si,sf,si,sb}", "user", user->username, "worker", worker->workername, "id", user->id, "dsps1", worker->dsps1, "dsps5", worker->dsps5, "dsps60", worker->dsps60, "dsps1440", worker->dsps1440, "lastshare", worker->last_share.tv_sec,