Commit 89ecf4ac authored by Gisle Vanem's avatar Gisle Vanem
Browse files

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

So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
parent d42eac42
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -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: