Changeset 11764


Ignore:
Timestamp:
Jan 24, 2011, 6:07:06 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) torrent.c setLocation(): don't try to move a file if the source and destination paths are the same.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r11750 r11764  
    28562856                tr_dbg( "Found file #%d: %s", (int)i, oldpath );
    28572857
    2858                 if( do_move )
     2858                if( do_move && !tr_is_same_file( oldpath, newpath ) )
    28592859                {
    28602860                    tr_bool renamed = FALSE;
Note: See TracChangeset for help on using the changeset viewer.