Browse Source

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

nfactor-troky
Con Kolivas 11 years ago
parent
commit
8aa50e19fa
  1. 3
      driver-bflsc.c

3
driver-bflsc.c

@ -1337,10 +1337,11 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non @@ -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…
Cancel
Save