Ignore:
Timestamp:
Jun 7, 2010, 2:25:31 PM (12 years ago)
Author:
charles
Message:

(trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r10638 r10736  
    17211721        for( d = readdir( odir ); d != NULL; d = readdir( odir ) )
    17221722        {
    1723             if( d->d_name && d->d_name[0] != '.' ) /* skip dotfiles, ., and ..
    1724                                                      */
     1723            if( tr_str_has_suffix( d->d_name, ".torrent" ) )
    17251724            {
    17261725                tr_torrent * tor;
     
    21042103        while(( d = readdir( odir )))
    21052104        {
    2106             if( d->d_name && d->d_name[0] != '.' )
     2105            if( tr_str_has_suffix( d->d_name, ".torrent" ) )
    21072106            {
    21082107                tr_info inf;
Note: See TracChangeset for help on using the changeset viewer.