upvote
Yeah, but that only prints an error and keeps going, so next loop it will read past the null terminator. So I think looperhacks is correct.

The function should probably return on error.

reply