mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-13 17:13:06 -04:00
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:
parent
e0f786913b
commit
0e9fcf1c42
1 changed files with 4 additions and 0 deletions
|
@ -81,10 +81,14 @@ int pqipersongrp::tickServiceRecv()
|
||||||
//p3ServiceServer::tick();
|
//p3ServiceServer::tick();
|
||||||
|
|
||||||
while(NULL != (pqi = GetRsRawItem()))
|
while(NULL != (pqi = GetRsRawItem()))
|
||||||
|
{
|
||||||
|
static int ntimes=0 ;
|
||||||
|
if(++ntimes < 20)
|
||||||
{
|
{
|
||||||
std::cerr << "pqipersongrp::tickServiceRecv() GetRsRawItem()";
|
std::cerr << "pqipersongrp::tickServiceRecv() GetRsRawItem()";
|
||||||
std::cerr << " should never happen anymore!";
|
std::cerr << " should never happen anymore!";
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
++i;
|
++i;
|
||||||
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone,
|
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue