mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Pause torrent in all "fastresume rejected" cases
PR #17087. Addition to #17064.
This commit is contained in:
parent
8e854062e8
commit
4032393c0e
@ -37,11 +37,8 @@ namespace
|
||||
{
|
||||
void handleFastresumeRejectedAlert(const lt::fastresume_rejected_alert *alert)
|
||||
{
|
||||
if (alert->error.value() == lt::errors::mismatching_file_size)
|
||||
{
|
||||
alert->handle.unset_flags(lt::torrent_flags::auto_managed);
|
||||
alert->handle.pause();
|
||||
}
|
||||
alert->handle.unset_flags(lt::torrent_flags::auto_managed);
|
||||
alert->handle.pause();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user