revert accidental commit
This commit is contained in:
parent
7986b7a042
commit
cfbb5692cf
|
@ -1434,8 +1434,10 @@ namespace libtorrent
|
|||
|
||||
if (t->alerts().should_post(alert::fatal))
|
||||
{
|
||||
std::string err = "torrent paused: disk write error, " + j.str;
|
||||
t->alerts().post_alert(file_error_alert(t->get_handle(), err));
|
||||
if (j.str != "write failed: No space left on device"){
|
||||
std::string err = "torrent paused: disk write error, " + j.str;
|
||||
t->alerts().post_alert(file_error_alert(t->get_handle(), err));
|
||||
}
|
||||
}
|
||||
t->pause();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue