ckolivas/cgminer — pull request #68 by luke-jr (2012-01-08 08:13:40+00:00)
Title: Bugfix: Don't ignore nonces beginning with FF

Since the check for end-of-nonces was taking place after incrementing beyond the current nonce, yet before that nonce had been submitted, nonces starting with FF (due to the phatk nonce output format) were ignored. Therefore, I have moved the check inside the while loop, before the increment occurs.