From c4d76cd8d0acee5d1f28ff5854bf127858b848c1 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 25 Apr 2010 15:19:08 +0000 Subject: [PATCH] (trunk libT) slightly better comment i tr_torrentFileCompleted() --- libtransmission/torrent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 13535f223..40ddcc072 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -2657,9 +2657,9 @@ tr_torrentFileCompleted( tr_torrent * tor, tr_file_index_t fileNum ) /* close the file so that we can reopen in read-only mode as needed */ tr_fdFileClose( tor->session, tor, fileNum ); - /* if the torrent's filename on disk isn't the same as the one in the metadata, - * then it's been modified to denote that it was a partial file. - * Now that it's complete, use the proper filename. */ + /* if the torrent's current filename isn't the same as the one in the + * metadata -- for example, if it had the ".part" suffix appended to + * it until now -- then rename it to match the one in the metadata */ if( tr_torrentFindFile2( tor, fileNum, &base, &sub ) ) { const tr_file * file = &tor->info.files[fileNum];