Focus on ftello result < 0 instead of errno
Rather than reset errno (or just hope that its cleared already), check just the result of the ftello for < 0 to determine if there was an issue. Oversight by me, pointed out by Tom.
Showing
Please register or sign in to comment