Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ntsu_socketutil.cpp: correct use of ferror(3) #219

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Commits on Sep 12, 2024

  1. ntsu_socketutil.cpp: correct use of ferror(3)

    1. don't call ferror(3) on invalid (NULL) stream
    2. don't use the flag returned by `ferror(3)` to create an `ntsa::Error` as it only indicates that an error occurred, and we should get it from `errno`
    lxv authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6626f48 View commit details
    Browse the repository at this point in the history