From ebfe8b9828405ae101fb9989f570393017defaca Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 23 Feb 2011 19:32:51 +0000 Subject: [PATCH] disabled error msg from pqistreamer, as it is not an error in 99% of the cases it happens git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4051 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/pqistreamer.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/pqi/pqistreamer.cc b/libretroshare/src/pqi/pqistreamer.cc index 7cb094599..f7c6fc3f6 100644 --- a/libretroshare/src/pqi/pqistreamer.cc +++ b/libretroshare/src/pqi/pqistreamer.cc @@ -738,7 +738,8 @@ continue_packet: msgout << "(M:" << maxlen << " B:" << blen; msgout << " E:" << extralen << " R:" << tmplen << ")\n"; msgout << "\n"; - msgout << "Please contact the developers."; + msgout << "Note: this error might as well happen (rarely) when a peer disconnects in between a transmission of a large packet." << std::endl; + msgout << "If it happens manny time, please contact the developers, and send them these numbers:"; msgout << "\n"; msgout << "block = " @@ -752,7 +753,10 @@ continue_packet: << (int)(((unsigned char*)block)[7]) << " " << std::endl ; - notify->AddSysMessage(0, RS_SYS_WARNING, title, msgout.str()); + + //notify->AddSysMessage(0, RS_SYS_WARNING, title, msgout.str()); + + std::cerr << msgout.str() << std::endl; } bio->close();