1
0
Fork 0
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:
Charles Kerr 2009-08-25 13:55:32 +00:00
parent 3b816444c2
commit 6a2de9864d

View file

@ -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; }