1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +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 (self)
{ {
if (torrentDelete && [[self torrentLocation] isEqualToString: path]) if (torrentDelete && ![[self torrentLocation] isEqualToString: path])
[Torrent trashFile: path]; [Torrent trashFile: path];
} }
return self; return self;