Ignore:
Timestamp:
Feb 17, 2009, 4:00:53 AM (13 years ago)
Author:
livings124
Message:

assorted trivial cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r7893 r7894  
    229229
    230230        case TR_RATIOLIMIT_GLOBAL:
    231             if(( isLimited = tr_sessionIsRatioLimited( tor->session )))
    232                 if( ratio )
    233                     *ratio = tr_sessionGetRatioLimit( tor->session );
     231            isLimited = tr_sessionIsRatioLimited( tor->session );
     232            if( isLimited && ratio )
     233                *ratio = tr_sessionGetRatioLimit( tor->session );
    234234            break;
    235235
Note: See TracChangeset for help on using the changeset viewer.