From cfbb5692cf36ac63dff13886ca176e09a2dbdaea Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 25 Mar 2008 01:59:02 +0000 Subject: [PATCH] revert accidental commit --- libtorrent/src/peer_connection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libtorrent/src/peer_connection.cpp b/libtorrent/src/peer_connection.cpp index 4cd0e4435..38e80c895 100755 --- a/libtorrent/src/peer_connection.cpp +++ b/libtorrent/src/peer_connection.cpp @@ -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;