diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-08 14:15:19 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-05-23 09:45:04 +0200 |
commit | a60838d09aed4d976e9343e8329d61afff204435 (patch) | |
tree | bb7d9b040b6d8b77c3d57fd8abd903ae02d19231 /src/test/main_tests.cpp | |
parent | 8cd900711c0396ac3a96ffd40f43f0e9ec76fadb (diff) |
Replace non-threadsafe strerror
Log the name of the error as well as the error code if a network problem
happens. This makes network troubleshooting more convenient.
Use thread-safe strerror_r and the WIN32 equivalent FormatMessage.
Diffstat (limited to 'src/test/main_tests.cpp')
0 files changed, 0 insertions, 0 deletions