@ -1174,9 +1187,14 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
@@ -1174,9 +1187,14 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
applog(LOG_ERR,"%s%i:%s incorrect result header (%s) results ignored",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
free(tmp);
freebreakdown(&count,&firstname,&fields);
que=0;
@ -1184,12 +1202,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
@@ -1184,12 +1202,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
}
if(count!=1){
// error msg
tmp=str_text(items[0]);
applog(LOG_ERR,"%s%i:%s incorrect result header (%s) will try anyway",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
free(tmp);
}
que=atoi(fields[0]);
if(que!=(lines-2)){
// error
tmp=str_text(items[0]);
applog(LOG_ERR,"%s%i:%s incorrect result header (%s) %d but should be %d will try %d anyway",
@ -1197,7 +1221,7 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non
@@ -1197,7 +1221,7 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *buf, int *non