[or-cvs] r8350: fixed typo in eventdns.c (tor/trunk/src/or)

chiussi at seul.org chiussi at seul.org
Fri Sep 8 09:02:15 UTC 2006


Author: chiussi
Date: 2006-09-08 05:02:14 -0400 (Fri, 08 Sep 2006)
New Revision: 8350

Modified:
   tor/trunk/src/or/eventdns.c
Log:
fixed typo in eventdns.c


Modified: tor/trunk/src/or/eventdns.c
===================================================================
--- tor/trunk/src/or/eventdns.c	2006-09-07 19:00:51 UTC (rev 8349)
+++ tor/trunk/src/or/eventdns.c	2006-09-08 09:02:14 UTC (rev 8350)
@@ -2038,7 +2038,7 @@
 	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 @@
 	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");



More information about the tor-commits mailing list