Ignore:
Timestamp:
Oct 15, 2007, 8:58:39 PM (15 years ago)
Author:
charles
Message:

remove unused flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r3425 r3426  
    228228        ( NULL != val2 && ( TYPE_INT != val2->type || 0 != val2->val.i ) ) )
    229229    {
    230         inf->flags |= TR_FLAG_PRIVATE;
     230        inf->isPrivate = 1;
    231231    }
    232232   
     
    665665    {
    666666        /* Multi-file mode */
    667         inf->multifile = 1;
     667        inf->isMultifile = 1;
    668668        inf->fileCount = files->val.l.count;
    669669        inf->files     = calloc( inf->fileCount, sizeof( inf->files[0] ) );
     
    699699    {
    700700        /* Single-file mode */
    701         inf->multifile = 0;
     701        inf->isMultifile = 0;
    702702        inf->fileCount = 1;
    703703        inf->files     = calloc( 1, sizeof( inf->files[0] ) );
Note: See TracChangeset for help on using the changeset viewer.