applog(LOG_INFO,"%s%i:%s invalid nonce (%s) will try to process anyway",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
applogsiz(LOG_INFO,BFLSC_APPLOGSIZ,
"%s%i:%s invalid nonce (%s) will try to process anyway",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
free(tmp);
}
@ -1312,16 +1319,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
@@ -1312,16 +1319,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
free(buf);
if(!res||lines<1){
tmp=str_text(pbuf);
applog(LOG_ERR,"%s%i:%s empty result (%s) ignored",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
applogsiz(LOG_ERR,BFLSC_APPLOGSIZ,
"%s%i:%s empty result (%s) ignored",
bflsc->drv->name,bflsc->device_id,xlink,tmp);
free(tmp);
gotoarigatou;
}
if(lines<QUE_RES_LINES_MIN){
tmp=str_text(pbuf);
applog(LOG_ERR,"%s%i:%s result of %d too small (%s) ignored",
@ -1330,16 +1339,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
@@ -1330,16 +1339,18 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
if(count<1){
tmp=str_text(pbuf);
tmp2=str_text(items[1]);
applog(LOG_ERR,"%s%i:%s empty result count (%s) in (%s) ignoring",
@ -1352,8 +1363,9 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
@@ -1352,8 +1363,9 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
tmp=str_text(pbuf);
tmp2=str_text(items[0]);
applog(LOG_ERR,"%s%i:%s incorrect result count %d (%s) will try %d (%s)",
@ -1366,8 +1378,9 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no
@@ -1366,8 +1378,9 @@ static int process_results(struct cgpu_info *bflsc, int dev, char *pbuf, int *no