]> git.sesse.net Git - stockfish/commitdiff
Remove last use of uip.eof()
authorJoona Kiiski <joona.kiiski@gmail.com>
Tue, 26 Jan 2010 16:55:27 +0000 (18:55 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 27 Jan 2010 08:52:15 +0000 (09:52 +0100)
Value of uip.eof() should not be trusted.
input like "go infinite searchmoves " (note space in the end of line)
causes problems.

Check the return value of (uip >> token) instead

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found