Browse Source

Merge commit 'cddeaa6' into bfgminer

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

+ 2 - 2
driver-bitforce.c

@@ -907,8 +907,8 @@ void bitforce_process_qresult_line(struct thr_info *thr, char *buf, struct work
 static inline
 char *next_line(char *in)
 {
-	while (in[0] && in[0] != '\n')
-		++in;
+	while (in[0] && (in++)[0] != '\n')
+	{}
 	return in;
 }