diff --git a/libtransmission/fastresume.c b/libtransmission/fastresume.c index 2a32af9de..8577d5886 100644 --- a/libtransmission/fastresume.c +++ b/libtransmission/fastresume.c @@ -66,18 +66,12 @@ typedef uint64_t tr_time_t; enum { - /* deprecated */ - FR_ID_PROGRESS_SLOTS = 1, - /* number of bytes downloaded */ FR_ID_DOWNLOADED = 2, /* number of bytes uploaded */ FR_ID_UPLOADED = 3, - /* IPs and ports of connectable peers */ - FR_ID_PEERS_OLD = 4, - /* progress data: * - 4 bytes * number of files: mtimes of files * - 1 bit * number of blocks: whether we have the block or not */ @@ -342,10 +336,8 @@ internalIdToPublicBitfield( uint8_t id ) switch( id ) { - case FR_ID_PROGRESS_SLOTS: ret = 0; break; case FR_ID_DOWNLOADED: ret = TR_FR_DOWNLOADED; break; case FR_ID_UPLOADED: ret = TR_FR_UPLOADED; break; - case FR_ID_PEERS_OLD: ret = TR_FR_PEERS; break; case FR_ID_PROGRESS: ret = TR_FR_PROGRESS; break; case FR_ID_PRIORITY: ret = TR_FR_PRIORITY; break; case FR_ID_SPEED: ret = TR_FR_SPEEDLIMIT; break;