mirror of
https://github.com/transmission/transmission
synced 2025-02-21 21:57:01 +00:00
fix --disable-dht error in 1.74 reported by DimStar
This commit is contained in:
parent
3b816444c2
commit
6a2de9864d
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ THE SOFTWARE.
|
|||
#ifdef WITHOUT_DHT
|
||||
|
||||
/* These are the stubs for when we're building without DHT support */
|
||||
int tr_dhtInit( tr_session * session UNUSED ) { return TR_DHT_STOPPED; }
|
||||
int tr_dhtInit( tr_session * session UNUSED,
|
||||
tr_address * address UNUSED ) { return TR_DHT_STOPPED; }
|
||||
void tr_dhtUninit( tr_session * session UNUSED ) { }
|
||||
tr_bool tr_dhtEnabled( const tr_session * session UNUSED ) { return FALSE; }
|
||||
tr_port tr_dhtPort ( const tr_session * sesssion UNUSED ) { return 0; }
|
||||
|
|
Loading…
Reference in a new issue