lammertb / libhttp

Multi platform HTTP and HTTPS library
MIT License
957 stars 131 forks source link

fixed sterror_r missing usage of return value #70

Closed Beliriel closed 3 years ago

Beliriel commented 3 years ago

69

See issue for a description.

TLDR: Compilation on Linux Ubuntu 20.04 breaks due to the compiler expecting a usage of the return value of strerror_r and treating all warnings as errors.

lammertb commented 3 years ago

Thanks for the pull request.

This issue was fixed with https://github.com/lammertb/libhttp/commit/8ed6823cdee0d3b75b4adecb8bdd4a6c2921a702 which contains an additional fix to a return buffer issue with the GNU specific version of strerror_r.