summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorMike Chiussi <chiussi@gmail.com>2006-09-08 09:02:14 +0000
committerMike Chiussi <chiussi@gmail.com>2006-09-08 09:02:14 +0000
commit1ee88bb01a0952103a213771168fcbf8d9f6518a (patch)
tree072519c8167607da4ed915f84726c8abb47ad4b4 /src/or/eventdns.c
parentc063c7b8cb8574dfc6f84f0268fad28c52bc84fe (diff)
downloadtor-1ee88bb01a0952103a213771168fcbf8d9f6518a.tar.gz
tor-1ee88bb01a0952103a213771168fcbf8d9f6518a.zip
fixed typo in eventdns.c
svn:r8350
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 2bb16a8c2a..5f08b722f9 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -2038,7 +2038,7 @@ eventdns_nameserver_ip_add_line(const char *ips) {
return 0;
}
-typedef DWORD (WINAPI *GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*);
+typedef DWORD(*GetNetworkParams_fn_t)(FIXED_INFO *, DWORD*);
// Use the windows GetNetworkParams interface in iphlpapi.dll to
// figure out what our nameservers are.
@@ -2051,7 +2051,7 @@ load_nameservers_with_getnetworkparams(void) {
void *buf = NULL;
int status = 0, r, added_any;
IP_ADDR_STRING *ns;
- GetNetworkparams_fn_t fn;
+ GetNetworkParams_fn_t fn;
if (!(handle = LoadLibrary("iphlpapi.dll"))) {
log(EVENTDNS_LOG_WARN,"Could not open iphlpapi.dll");