fopen() returns error in 'errno' even on Windows.

So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
This commit is contained in:
Gisle Vanem 2009-01-18 17:03:31 +00:00
parent d42eac4287
commit 89ecf4ac01
1 changed files with 7 additions and 7 deletions

View File

@ -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: