mirror of https://github.com/moparisthebest/curl
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
|
else
|
||||||
{
|
{
|
||||||
error = ERRNO;
|
error = errno;
|
||||||
switch(error)
|
switch(error)
|
||||||
{
|
{
|
||||||
case ENOENT:
|
case ENOENT:
|
||||||
|
|
Loading…
Reference in New Issue