Ignore:
Timestamp:
Jun 16, 2010, 3:05:23 AM (12 years ago)
Author:
charles
Message:

(libT) #3291 "tr_torrent.infoDictOffset should be lazily evaluated"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r10664 r10774  
    166166    char * incompleteDir;
    167167
    168     /* Length, in bytes, of the "info" dict in the .torrent file */
     168    /* Length, in bytes, of the "info" dict in the .torrent file. */
    169169    int infoDictLength;
    170170
    171     /* Offset, in bytes, of the beginning of the "info" dict in the .torrent file */
     171    /* Offset, in bytes, of the beginning of the "info" dict in the .torrent file.
     172     *
     173     * Used by the torrent-magnet code for serving metainfo to peers.
     174     * This field is lazy-generated and might not be initialized yet. */
    172175    int infoDictOffset;
    173176
     
    232235    tr_bool                    startAfterVerify;
    233236    tr_bool                    isDirty;
     237
     238    tr_bool                    infoDictOffsetIsCached;
    234239
    235240    uint16_t                   maxConnectedPeers;
Note: See TracChangeset for help on using the changeset viewer.