mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Ignore zero count messages in bflsc instead of trying to parse them.
This commit is contained in:
parent
2061e97c0f
commit
8aa50e19fa
@ -1337,10 +1337,11 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
|
||||
if (count < 1) {
|
||||
tmp = str_text(buf);
|
||||
tmp2 = str_text(items[1]);
|
||||
applog(LOG_ERR, "%s%i:%s empty result count (%s) in (%s) will try anyway",
|
||||
applog(LOG_ERR, "%s%i:%s empty result count (%s) in (%s) ignoring",
|
||||
bflsc->drv->name, bflsc->device_id, xlink, tmp2, tmp);
|
||||
free(tmp2);
|
||||
free(tmp);
|
||||
goto arigatou;
|
||||
} else if (count != 1) {
|
||||
tmp = str_text(buf);
|
||||
tmp2 = str_text(items[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user