summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorMike Chiussi <chiussi@gmail.com>2006-09-06 01:49:55 +0000
committerMike Chiussi <chiussi@gmail.com>2006-09-06 01:49:55 +0000
commit6ec9c1092afbed894e2c52328257aa295e2df6fc (patch)
tree2ed5fa131a4d9ebef8eb425d4a44d41a8f3d3090 /src/or/dns.c
parent585ae267836326b50d33372f0129bc6fac1d1ad5 (diff)
downloadtor-6ec9c1092afbed894e2c52328257aa295e2df6fc.tar.gz
tor-6ec9c1092afbed894e2c52328257aa295e2df6fc.zip
- made configure check if we are building for win32
- made configure link to required system dll's if building for win32 - added diffs for libevent 1.1b - forced user to turn off eventdns if win32 is set - cleaned up tor_mmap_file()_win32 (not sure if it's stable) - cleaned up some warnings and typos svn:r8322
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 43459f2c58..19947e0765 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1108,7 +1108,7 @@ spawn_dnsworker(void)
fd = fdarray[0]; /* We copy this out here, since dnsworker_main may free
* fdarray */
- spawn_func(dnsworker_main, (void*)fdarray);
+ spawn_func((void*) dnsworker_main, (void*)fdarray);
log_debug(LD_EXIT,"just spawned a dns worker.");
#ifndef TOR_IS_MULTITHREADED
tor_close_socket(fdarray[1]); /* don't need the worker's side of the pipe */