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

So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
pull/1/head curl-7_19_3
Gisle Vanem 16 years ago
parent f94afa4fdc
commit 054aa0e11e
  1. 2
      ares_search.c

@ -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…
Cancel
Save