Ignore:
Timestamp:
Oct 20, 2007, 10:07:21 PM (15 years ago)
Author:
charles
Message:

remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ipcparse.c

    r3484 r3486  
    859859                break;
    860860            case IPC_ST_RUNNING:
    861                 tr_bencInitInt( item,
    862                                 ( TR_STATUS_INACTIVE & st->status ? 0 : 1 ) );
     861                tr_bencInitInt( item, TR_STATUS_IS_ACTIVE(st->status) );
    863862                break;
    864863            case IPC_ST_STATE:
     
    879878                    tr_bencInitStr( item, "seeding", -1, 1 );
    880879                }
    881                 else if( TR_STATUS_INACTIVE & st->status )
     880                else if( TR_STATUS_STOPPED & st->status )
    882881                {
    883882                    tr_bencInitStr( item, "paused", -1, 1 );
Note: See TracChangeset for help on using the changeset viewer.