mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-09 06:42:19 -04:00
removed debug info
This commit is contained in:
parent
82d43eb8a0
commit
141b799c9d
1 changed files with 4 additions and 0 deletions
|
@ -491,8 +491,10 @@ int pqistreamer::handleoutgoing_locked()
|
||||||
mPkt_wpending_size += s ;
|
mPkt_wpending_size += s ;
|
||||||
++k ;
|
++k ;
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG_PQISTREAMER
|
||||||
if(k > 1)
|
if(k > 1)
|
||||||
std::cerr << "Packed " << k << " packets into " << mPkt_wpending_size << " bytes." << std::endl;
|
std::cerr << "Packed " << k << " packets into " << mPkt_wpending_size << " bytes." << std::endl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
|
@ -543,8 +545,10 @@ int pqistreamer::handleoutgoing_locked()
|
||||||
sent = true;
|
sent = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef DEBUG_PQISTREAMER
|
||||||
if(nsent > 0)
|
if(nsent > 0)
|
||||||
std::cerr << "nsent = " << nsent << ", total bytes=" << sentbytes << std::endl;
|
std::cerr << "nsent = " << nsent << ", total bytes=" << sentbytes << std::endl;
|
||||||
|
#endif
|
||||||
outSentBytes_locked(sentbytes);
|
outSentBytes_locked(sentbytes);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue