Changeset 3409


Ignore:
Timestamp:
Oct 14, 2007, 3:26:13 AM (15 years ago)
Author:
charles
Message:

(1) fix a bug in torrent creation. (2) fix a bug in torrent paths on startup in gtk

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_core.c

    r3381 r3409  
    362362         flags |= TR_FLAG_PAUSED;
    363363
    364     torrents = tr_loadTorrents ( self->handle, path, flags, &count );
     364    torrents = tr_loadTorrents ( self->handle, NULL, flags, &count );
    365365    for( i=0; i<count; ++i )
    366366        tr_core_insert( self, tr_torrent_new_preexisting( torrents[i] ) );
  • trunk/libtransmission/makemeta.c

    r3254 r3409  
    231231        assert( bufptr-buf == (int)thisPieceSize );
    232232        assert( pieceRemain == 0 );
    233         tr_sha1( buf, walk, thisPieceSize, NULL );
     233        tr_sha1( walk, buf, thisPieceSize, NULL );
    234234        walk += SHA_DIGEST_LENGTH;
    235235
  • trunk/libtransmission/peer-msgs.c

    r3405 r3409  
    7070    KEEPALIVE_INTERVAL_SECS = 90,          /* idle seconds before we send a keepalive */
    7171    PEX_INTERVAL            = (60 * 1000), /* msec between calls to sendPex() */
    72     PEER_PULSE_INTERVAL     = (20),        /* msec between calls to pulse() */
     72    PEER_PULSE_INTERVAL     = (133),        /* msec between calls to pulse() */
    7373    RATE_PULSE_INTERVAL     = (333),       /* msec between calls to ratePulse() */
    7474};
Note: See TracChangeset for help on using the changeset viewer.