1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Ignore zero count messages in bflsc instead of trying to parse them.

This commit is contained in:
Con Kolivas 2013-08-30 20:34:40 +10:00
parent 2061e97c0f
commit 8aa50e19fa

View File

@ -1337,10 +1337,11 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
if (count < 1) { if (count < 1) {
tmp = str_text(buf); tmp = str_text(buf);
tmp2 = str_text(items[1]); 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); bflsc->drv->name, bflsc->device_id, xlink, tmp2, tmp);
free(tmp2); free(tmp2);
free(tmp); free(tmp);
goto arigatou;
} else if (count != 1) { } else if (count != 1) {
tmp = str_text(buf); tmp = str_text(buf);
tmp2 = str_text(items[1]); tmp2 = str_text(items[1]);