revert accidental commit

This commit is contained in:
Marcos Pinto 2008-03-25 01:59:02 +00:00
parent 7986b7a042
commit cfbb5692cf
1 changed files with 4 additions and 2 deletions

View File

@ -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;