mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
bah, that last commit was wrong
This commit is contained in:
@@ -163,7 +163,10 @@ tr_dhtInit(tr_session *ss)
|
||||
have_id = TRUE;
|
||||
}
|
||||
|
||||
tr_snprintf( v, sizeof( v ), "TR%02x", SVN_REVISION_NUM );
|
||||
v[0] = 'T';
|
||||
v[1] = 'R';
|
||||
v[2] = (SVN_REVISION_NUM >> 8) & 0xFF;
|
||||
v[3] = SVN_REVISION_NUM & 0xFF;
|
||||
rc = dht_init( dht_socket, myid, (const unsigned char*)v );
|
||||
if(rc < 0)
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user