removed debug info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-09-17 20:19:02 +00:00
parent 41cb5b7d34
commit bb49359fdb
2 changed files with 15 additions and 2 deletions

View File

@ -220,7 +220,14 @@ bool PGPHandler::validateAndUpdateSignatures(PGPCertificateInfo& cert,const ops_
ops_boolean_t res = ops_validate_key_signatures(result,keydata,_pubring,cb_get_passphrase) ;
if(res == ops_false)
std::cerr << "(WW) Error in PGPHandler::validateAndUpdateSignatures(). Validation failed for at least some signatures." << std::endl;
{
static ops_boolean_t already = 0 ;
if(!already)
{
std::cerr << "(WW) Error in PGPHandler::validateAndUpdateSignatures(). Validation failed for at least some signatures." << std::endl;
already = 1 ;
}
}
bool ret = false ;

View File

@ -196,7 +196,13 @@ class PQInterface: public RateInterface
virtual int SendItem(RsItem *item,uint32_t& size)
{
size = 0 ;
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
static bool already=false ;
if(!already)
{
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
already=true ;
}
return SendItem(item) ;
}