Changeset 7280


Ignore:
Timestamp:
Dec 5, 2008, 3:46:08 PM (12 years ago)
Author:
charles
Message:

(1.3x libT) backport #1267: when making new torrents, don't allow 0-byte files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/libtransmission/makemeta.c

    r6489 r7280  
    6767        closedir( odir );
    6868    }
    69     else if( S_ISREG( sb.st_mode ) )
     69    else if( S_ISREG( sb.st_mode ) && ( sb.st_size > 0 ) )
    7070    {
    7171        struct FileList * node = tr_new( struct FileList, 1 );
Note: See TracChangeset for help on using the changeset viewer.