1
0
Fork 0
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:
Charles Kerr 2009-05-20 03:58:15 +00:00
parent e904ea732c
commit 52991d7ee7

View file

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