1
0
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:
Gisle Vanem 2009-01-18 17:03:31 +00:00
parent d42eac4287
commit 89ecf4ac01

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: