since we're not using evdns, don't call evdns_init() and evdns_shutdown() anymore.

This commit is contained in:
Charles Kerr 2008-01-21 23:36:43 +00:00
parent 873049f491
commit d4128740d1
1 changed files with 0 additions and 3 deletions

View File

@ -19,7 +19,6 @@
#include <signal.h>
#include <event.h>
#include <evdns.h>
#include <evhttp.h>
#include "transmission.h"
@ -143,7 +142,6 @@ pumpList( int i UNUSED, short s UNUSED, void * veh )
timeout_add( &eh->pulse, &eh->pulseInterval );
else {
assert( eh->timerCount == 0 );
evdns_shutdown( FALSE );
event_del( &eh->pulse );
}
}
@ -177,7 +175,6 @@ libeventThreadFunc( void * veh )
#endif
eh->base = event_init( );
evdns_init( );
timeout_set( &eh->pulse, pumpList, veh );
timeout_add( &eh->pulse, &eh->pulseInterval );
eh->h->events = eh;