mirror of
https://github.com/transmission/transmission
synced 2025-02-04 13:32:19 +00:00
since we're not using evdns, don't call evdns_init() and evdns_shutdown() anymore.
This commit is contained in:
parent
873049f491
commit
d4128740d1
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue