1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

whoops - delete the torrent file if it is NOT the internal torrent file

This commit is contained in:
Mitchell Livingston 2009-07-22 14:10:07 +00:00
parent 91bb087731
commit 28419f169f

View file

@ -87,7 +87,7 @@ int trashDataFile(const char * filename)
if (self)
{
if (torrentDelete && [[self torrentLocation] isEqualToString: path])
if (torrentDelete && ![[self torrentLocation] isEqualToString: path])
[Torrent trashFile: path];
}
return self;