Changeset 12701
- Timestamp:
- Aug 20, 2011, 6:41:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r12692 r12701 2839 2839 dir = tr_dirname( filename ); 2840 2840 tr_free( filename ); 2841 2842 if( !tr_is_same_file( top, dir ) ) { 2841 if( !tr_is_same_file( top, dir ) && strcmp( top, dir ) ) { 2843 2842 for( ;; ) { 2844 2843 char * parent = tr_dirname( dir ); 2845 if( tr_is_same_file( top, parent ) ) {2844 if( tr_is_same_file( top, parent ) || !strcmp( top, parent ) ) { 2846 2845 if( tr_ptrArrayFindSorted( &folders, dir, vstrcmp ) == NULL ) { 2847 2846 tr_ptrArrayInsertSorted( &folders, tr_strdup( dir ), vstrcmp );
Note: See TracChangeset
for help on using the changeset viewer.