1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

* fix oops from last checkin

* remove some unused fields from internal structures
This commit is contained in:
Charles Kerr 2007-09-25 22:37:23 +00:00
parent 73522af17c
commit 904359a049
4 changed files with 1 additions and 6 deletions

View file

@ -122,8 +122,6 @@ struct tr_torrent
uint8_t obfuscatedHash[SHA_DIGEST_LENGTH];
uint8_t * azId;
/* Where to download */
char * destination;

View file

@ -1237,7 +1237,6 @@ reconnectPulse( void * vt UNUSED )
}
}
#if 0
/* maybe connect to some new peers */
if( t->isRunning && (liveCount<MAX_CONNECTED_PEERS_PER_TORRENT) )
{
@ -1282,7 +1281,6 @@ reconnectPulse( void * vt UNUSED )
tr_free( pool );
}
#endif
return TRUE;
}

View file

@ -304,7 +304,6 @@ torrentRealInit( tr_handle * h,
tor->destination = tr_strdup( destination );
tor->handle = h;
tor->azId = h->azId;
tor->hasChangedState = -1;
tor->pexDisabled = 0;

View file

@ -685,7 +685,7 @@ struct tr_peer_stat
struct tr_msg_list
{
int level;
uint8_t level;
time_t when;
char * message;
struct tr_msg_list * next;