diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-21 13:45:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-21 14:40:10 -0400 |
commit | aa7f55c45f942f45692c4a99e6fe1d5784609509 (patch) | |
tree | 03e89187475b27ae43c9d0f2a75a1b93d29ea251 /src/or/eventdns.c | |
parent | 418e6caeebfb13c66ea1b4904fb331fe57b82b80 (diff) | |
download | tor-aa7f55c45f942f45692c4a99e6fe1d5784609509.tar.gz tor-aa7f55c45f942f45692c4a99e6fe1d5784609509.zip |
Use load_windows_system_library in place of LoadLibrary
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r-- | src/or/eventdns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 8ebfb79353..c6fcbd9484 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -3132,7 +3132,7 @@ load_nameservers_with_getnetworkparams(void) GetNetworkParams_fn_t fn; /* XXXX Possibly, we should hardcode the location of this DLL. */ - if (!(handle = LoadLibrary(TEXT("iphlpapi.dll")))) { + if (!(handle = load_windows_system_library(TEXT("iphlpapi.dll")))) { log(EVDNS_LOG_WARN, "Could not open iphlpapi.dll"); /* right now status = 0, doesn't that mean "good" - mikec */ status = -1; |