From 214f74de0830101f30b18dd2792a0011f68a8dd7 Mon Sep 17 00:00:00 2001 From: kanoi Date: Fri, 20 Jun 2014 01:56:29 +1000 Subject: [PATCH] ckdb - fix user web stats --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index 70b10d31..3ea604ea 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -4031,7 +4031,7 @@ static char *cmd_homepage(char *cmd, char *id, __maybe_unused tv_t *now, __maybe } if (us_item) { - double_to_buf(DATA_USERSTATS(u_item)->hashrate5m, reply, sizeof(reply)); + double_to_buf(DATA_USERSTATS(us_item)->hashrate5m, reply, sizeof(reply)); snprintf(tmp, sizeof(tmp), "u_hashrate5m=%s%c", reply, FLDSEP); APPEND_REALLOC(buf, off, len, tmp); } else {