Changeset 1059 for trunk


Ignore:
Timestamp:
Nov 9, 2006, 4:38:32 AM (15 years ago)
Author:
livings124
Message:

Don't request more peers if stopping (or changing ports).

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r1001 r1059  
    238238    uint64_t       up;
    239239    char         * start;
     240    int            numwant = 50;
    240241
    241242    down = tor->downloadedCur;
     
    259260    {
    260261        event = "&event=stopped";
     262        numwant = 0;
    261263    }
    262264    else
     
    286288                          "left=%"PRIu64"&"
    287289                          "compact=1&"
    288                           "numwant=50&"
     290                          "numwant=%d&"
    289291                          "key=%s"
    290292                          "%s",
    291293                          inf->trackerAnnounce, start, tor->hashString, tc->id,
    292                           tc->bindPort, up, down, left, tor->key, event );
     294                          tc->bindPort, up, down, left, numwant, tor->key, event );
    293295}
    294296
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r1056 r1059  
    3232        <key>IBOpenObjects</key>
    3333        <array>
    34                 <integer>456</integer>
    3534                <integer>21</integer>
    3635        </array>
  • trunk/macosx/Torrent.m

    r1054 r1059  
    10401040        //if cannot trash, just delete it (will work if it is on a remote volume)
    10411041        if (![[NSFileManager defaultManager] removeFileAtPath: path handler: nil])
    1042             NSLog([@"Could not trash " stringByAppendingString: path]);
     1042            NSLog(@"Could not trash %@", path);
    10431043    }
    10441044}
Note: See TracChangeset for help on using the changeset viewer.