Changeset 5934


Ignore:
Timestamp:
May 26, 2008, 1:13:24 PM (14 years ago)
Author:
charles
Message:

dead code removal.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r5928 r5934  
    99- GTK+
    1010   + Add preferences options to inhibit hibernation and to toggle the tray icon
     11- Daemon
     12   + Redesigned & rewritten to use json over http
    1113
    12141.21 (2008/05/21)
  • trunk/gtk/tr-core.c

    r5928 r5934  
    507507        TR_TORRENT_TYPE,  /* TrTorrent object */
    508508        G_TYPE_POINTER,   /* tr_torrent* */
    509         G_TYPE_INT,       /* tr_stat()->status */
    510         G_TYPE_INT        /* tr_torrentId() */
     509        G_TYPE_INT        /* tr_stat()->status */
    511510    };
    512511
     
    684683                                       MC_TORRENT_RAW,   tor,
    685684                                       MC_STATUS,        torStat->status,
    686                                        MC_ID,            tr_torrentId( tor ),
    687685                                       -1);
    688686
  • trunk/gtk/tr-core.h

    r5843 r5934  
    186186    MC_TORRENT_RAW,
    187187    MC_STATUS,
    188     MC_ID,
    189188    MC_ROW_COUNT
    190189};
  • trunk/libtransmission/tracker.c

    r5913 r5934  
    3636    PULSE_INTERVAL_MSEC = 1000,
    3737
    38     /* maximum number of concurrent tracker socket connections */
    39     MAX_TRACKER_SOCKETS = 16,
    40 
    41     /* maximum number of concurrent tracker socket connections during shutdown.
    42      * all the peer connections should be gone by now, so we can hog more
    43      * connections to send `stop' messages to the trackers */
    44     MAX_TRACKER_SOCKETS_DURING_SHUTDOWN = 64,
    45 
    4638    /* unless the tracker says otherwise, rescrape this frequently */
    4739    DEFAULT_SCRAPE_INTERVAL_SEC = (60 * 15),
     
    7062    uint8_t randOffset;
    7163
    72     tr_session * session;
     64    /* sent as the "key" argument in tracker requests
     65       to verify us if our IP address changes.
     66       This is immutable for the life of the tracker object. */
     67    char key_param[KEYLEN+1];
    7368
    7469    /* these are set from the latest scrape or tracker response */
     
    8176    int trackerIndex;
    8277
    83     /* sent as the "key" argument in tracker requests
    84        to verify us if our IP address changes.
    85        This is immutable for the life of the tracker object. */
    86     char key_param[KEYLEN+1];
     78    tr_session * session;
    8779
    8880    tr_publisher_t * publisher;
     
    548540struct tr_tracker_request
    549541{
     542    uint8_t torrent_hash[SHA_DIGEST_LENGTH];
     543    int reqtype; /* TR_REQ_* */
    550544    char * url;
    551     int reqtype; /* TR_REQ_* */
    552     uint8_t torrent_hash[SHA_DIGEST_LENGTH];
    553545    tr_web_done_func * done_func;
    554546    tr_session * session;
Note: See TracChangeset for help on using the changeset viewer.