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
+1 −1
Changes for ares/ares_search.c: 1 added line, 1 removed line.
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: