mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fopen() returns error in 'errno' even on Windows.
So don't use ERRNO (GetLastError()). Trimmed trailing blanks.
This commit is contained in:
parent
d42eac4287
commit
89ecf4ac01
@ -292,7 +292,7 @@ static int single_domain(ares_channel channel, const char *name, char **s)
|
||||
}
|
||||
else
|
||||
{
|
||||
error = ERRNO;
|
||||
error = errno;
|
||||
switch(error)
|
||||
{
|
||||
case ENOENT:
|
||||
|
Loading…
Reference in New Issue
Block a user