Browse Source

Merge commit '9d55c9e' into bfgminer

Luke Dashjr 13 years ago
parent
commit
2b41048a39
1 changed files with 3 additions and 0 deletions
  1. 3 0
      driver-bitforce.c

+ 3 - 0
driver-bitforce.c

@@ -712,7 +712,10 @@ void bitforce_job_get_results(struct thr_info *thr, struct work *work)
 			{
 			{
 				BFgets(pmorebuf, szleft, fdDev);
 				BFgets(pmorebuf, szleft, fdDev);
 				if (!strncasecmp(pmorebuf, "OK", 2))
 				if (!strncasecmp(pmorebuf, "OK", 2))
+				{
+					pmorebuf[0] = '\0';  // process expects only results
 					break;
 					break;
+				}
 				sz = strlen(pmorebuf);
 				sz = strlen(pmorebuf);
 				szleft -= sz;
 				szleft -= sz;
 				pmorebuf += sz;
 				pmorebuf += sz;