[ares_getenv] Return NULL in all cases. (#279)

if ares_getenv is defined, it must return a value on all platforms.

Fix By: Egor Pugin (@egorpugin)
pull/288/head
Egor Pugin 5 years ago committed by Brad House
parent 3e22e3480b
commit a4d7a5bf2a
  1. 2
      ares_getenv.c

@ -22,9 +22,7 @@
char *ares_getenv(const char *name)
{
#ifdef _WIN32_WCE
return NULL;
#endif
}
#endif

Loading…
Cancel
Save