Changeset 7775


Ignore:
Timestamp:
Jan 22, 2009, 9:43:46 PM (12 years ago)
Author:
charles
Message:

(trunk libT) when deleting a torrent's local data -- folders and files -- use remove() instead of unlink() because the former handles both folders and files gracefully

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r7710 r7775  
    18991899{
    19001900    if( fileFunc == NULL )
    1901         fileFunc = unlink;
     1901        fileFunc = remove;
    19021902
    19031903    /* close all the files because we're about to delete them */
Note: See TracChangeset for help on using the changeset viewer.