Changeset 13420


Ignore:
Timestamp:
Aug 6, 2012, 4:02:18 AM (9 years ago)
Author:
livings124
Message:

missed a line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r13419 r13420  
    401401- (void) setRatioLimit: (CGFloat) limit
    402402{
    403     NSAssert(limit >= 0, @"Ratio cannot be negative");
     403    NSParameterAssert(limit >= 0);
     404   
    404405    tr_torrentSetRatioLimit(fHandle, limit);
    405406}
     
    427428- (void) setIdleLimitMinutes: (NSUInteger) limit
    428429{
    429     NSAssert(limit > 0, @"Idle limit must be greater than zero");
     430    NSParameterAssert(limit > 0);
     431   
    430432    tr_torrentSetIdleLimit(fHandle, limit);
    431433}
     
    463465- (void) setMaxPeerConnect: (uint16_t) count
    464466{
    465     NSAssert(count > 0, @"max peer count must be greater than 0");
     467    NSParameterAssert(count > 0);
    466468   
    467469    tr_torrentSetPeerLimit(fHandle, count);
     
    15881590        groupValue: (NSNumber *) groupValue
    15891591        removeWhenFinishSeeding: (NSNumber *) removeWhenFinishSeeding
    1590         timeMachineExcludeLocation: (NSString *) timeMachineExclude
    15911592        downloadFolder: (NSString *) downloadFolder
    15921593        legacyIncompleteFolder: (NSString *) incompleteFolder
Note: See TracChangeset for help on using the changeset viewer.