Changeset 5933


Ignore:
Timestamp:
May 26, 2008, 12:52:38 PM (14 years ago)
Author:
charles
Message:

(libT) shave a few bytes from tr_info and tr_torrent's memory footprints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r5932 r5933  
    922922struct tr_info
    923923{
    924     /* Path to torrent */
    925     char               * torrent;
     924    /* Flags */
     925    unsigned int isPrivate : 1;
     926    unsigned int isMultifile : 1;
    926927
    927928    /* General info */
     
    930931    char               * name;
    931932
    932     /* Flags */
    933     unsigned int isPrivate : 1;
    934     unsigned int isMultifile : 1;
     933    /* Path to torrent */
     934    char               * torrent;
    935935
    936936    /* these trackers are sorted by tier */
     
    11301130        to the torrent's most recent scrape request.  If no request was
    11311131        sent or there was no response, this string is empty. */
    1132     char scrapeResponse[256];
     1132    char scrapeResponse[64];
    11331133
    11341134    /** The unmodified string returned by the tracker in response
    11351135        to the torrent's most recent scrape request.  If no request was
    11361136        sent or there was no response, this string is empty. */
    1137     char announceResponse[256];
     1137    char announceResponse[64];
    11381138
    11391139    /** Time the most recent scrape request was sent,
Note: See TracChangeset for help on using the changeset viewer.