mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
whoops - delete the torrent file if it is NOT the internal torrent file
This commit is contained in:
parent
91bb087731
commit
28419f169f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue