From a34d742e36208a074723028ede81d4ae95e2132b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 30 Oct 2009 04:23:51 +0000 Subject: [PATCH] (trunk libT) OS X fix for tr_torrentDeleteLocalData() -- .DS_Store gave it trouble --- libtransmission/torrent.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index c81af0bf2..9820331a3 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2328,8 +2328,14 @@ deleteLocalData( tr_torrent * tor, tr_fileFunc fileFunc ) if( tr_ptrArrayFindSorted( &dirtyFolders, s[i], vstrcmp ) == NULL ) tr_ptrArrayInsertSorted( &cleanFolders, s[i], compareLongestFirst ); s = (char**) tr_ptrArrayPeek( &cleanFolders, &n ); - for( i=0; i