limited number of error outputs to GetRsRawItem()

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-12-23 13:13:02 +00:00
parent e0f786913b
commit 0e9fcf1c42

View File

@ -81,10 +81,14 @@ int pqipersongrp::tickServiceRecv()
//p3ServiceServer::tick();
while(NULL != (pqi = GetRsRawItem()))
{
static int ntimes=0 ;
if(++ntimes < 20)
{
std::cerr << "pqipersongrp::tickServiceRecv() GetRsRawItem()";
std::cerr << " should never happen anymore!";
std::cerr << std::endl;
}
++i;
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone,