mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
07cf042ece
- Use FORMAT_MESSAGE_IGNORE_INSERTS to ignore format specifiers in Windows error strings. Since we are not in control of the error code we don't know what information may be needed by the error string's format specifiers. Prior to this change Windows API error strings which contain specifiers (think specifiers like similar to printf specifiers) would not be shown. The FormatMessage Windows API call which turns a Windows error code into a string could fail and set error ERROR_INVALID_PARAMETER if that error string contained a format specifier. FormatMessage expects a va_list for the specifiers, unless inserts are ignored in which case no substitution is attempted. Ref: https://devblogs.microsoft.com/oldnewthing/20071128-00/?p=24353 |
||
---|---|---|
.. | ||
.gitignore | ||
base64.pl | ||
CMakeLists.txt | ||
disabled.c | ||
fake_ntlm.c | ||
getpart.c | ||
getpart.h | ||
Makefile.am | ||
Makefile.inc | ||
resolve.c | ||
rtspd.c | ||
server_setup.h | ||
server_sockaddr.h | ||
sockfilt.c | ||
socksd.c | ||
sws.c | ||
testpart.c | ||
tftp.h | ||
tftpd.c | ||
util.c | ||
util.h |