|
|
@ -5157,8 +5157,7 @@ static void *stratum_rthread(void *userdata) |
|
|
|
|
|
|
|
|
|
|
|
if (!parse_method(pool, s) && !parse_stratum_response(pool, s)) |
|
|
|
if (!parse_method(pool, s) && !parse_stratum_response(pool, s)) |
|
|
|
applog(LOG_INFO, "Unknown stratum msg: %s", s); |
|
|
|
applog(LOG_INFO, "Unknown stratum msg: %s", s); |
|
|
|
free(s); |
|
|
|
else if (pool->swork.clean) { |
|
|
|
if (pool->swork.clean) { |
|
|
|
|
|
|
|
struct work *work = make_work(); |
|
|
|
struct work *work = make_work(); |
|
|
|
|
|
|
|
|
|
|
|
/* Generate a single work item to update the current
|
|
|
|
/* Generate a single work item to update the current
|
|
|
@ -5171,6 +5170,7 @@ static void *stratum_rthread(void *userdata) |
|
|
|
test_work_current(work); |
|
|
|
test_work_current(work); |
|
|
|
free_work(work); |
|
|
|
free_work(work); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
free(s); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
out: |
|
|
|
out: |
|
|
|