mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
bah, that last commit was wrong
This commit is contained in:
parent
e904ea732c
commit
52991d7ee7
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue