diff --git a/src/stratifier.c b/src/stratifier.c index c190c6ba..5e88e469 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -191,7 +191,7 @@ struct user_instance { /* Combined data from workers with the same workername */ struct worker_instance { - user_instance_t *instance; + user_instance_t *user_instance; char *workername; worker_instance_t *next; @@ -2187,7 +2187,7 @@ static user_instance_t *generate_user(ckpool_t *ckp, stratum_instance_t *client, worker_instance_t *worker = ckzalloc(sizeof(worker_instance_t)); worker->workername = strdup(workername); - worker->instance = user; + worker->user_instance = user; DL_APPEND(user->worker_instances, worker); new_worker = true; worker->start_time = time(NULL);