Changed the condition so it also works in case when sscanf returns EOF.

1 file changed