dead code removal: azId
This commit is contained in:
parent
dc6a7b9485
commit
906c5d6f1f
|
@ -192,9 +192,6 @@ struct tr_handle
|
||||||
int statCur;
|
int statCur;
|
||||||
|
|
||||||
uint8_t isClosed;
|
uint8_t isClosed;
|
||||||
|
|
||||||
#define TR_AZ_ID_LEN 20
|
|
||||||
uint8_t azId[TR_AZ_ID_LEN];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void tr_globalLock ( struct tr_handle * );
|
void tr_globalLock ( struct tr_handle * );
|
||||||
|
|
|
@ -108,7 +108,6 @@ tr_setEncryptionMode( tr_handle * handle, tr_encryption_mode mode )
|
||||||
tr_handle * tr_init( const char * tag )
|
tr_handle * tr_init( const char * tag )
|
||||||
{
|
{
|
||||||
tr_handle * h;
|
tr_handle * h;
|
||||||
int i;
|
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
/* Don't exit when writing on a broken socket */
|
/* Don't exit when writing on a broken socket */
|
||||||
|
@ -139,10 +138,6 @@ tr_handle * tr_init( const char * tag )
|
||||||
|
|
||||||
h->peerMgr = tr_peerMgrNew( h );
|
h->peerMgr = tr_peerMgrNew( h );
|
||||||
|
|
||||||
/* Azureus identity */
|
|
||||||
for( i=0; i < TR_AZ_ID_LEN; ++i )
|
|
||||||
h->azId[i] = tr_rand( 0xff );
|
|
||||||
|
|
||||||
/* Initialize rate and file descripts controls */
|
/* Initialize rate and file descripts controls */
|
||||||
h->upload = tr_rcInit();
|
h->upload = tr_rcInit();
|
||||||
h->download = tr_rcInit();
|
h->download = tr_rcInit();
|
||||||
|
|
Loading…
Reference in New Issue