mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
Removed some std::ostringstream.
To be continued. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5097 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3b85873313
commit
545743ad77
17 changed files with 506 additions and 947 deletions
|
@ -27,7 +27,6 @@
|
|||
#include "pqi/p3linkmgr.h"
|
||||
#include "util/rsdebug.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
const int pqipersongrpzone = 354;
|
||||
|
@ -59,13 +58,10 @@ static std::list<std::string> waitingIds;
|
|||
// handle the tunnel services.
|
||||
int pqipersongrp::tickServiceRecv()
|
||||
{
|
||||
RsRawItem *pqi = NULL;
|
||||
RsRawItem *pqi = NULL;
|
||||
int i = 0;
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "pqipersongrp::tickTunnelServer()";
|
||||
pqioutput(PQL_DEBUG_ALL, pqipersongrpzone, out.str());
|
||||
}
|
||||
|
||||
pqioutput(PQL_DEBUG_ALL, pqipersongrpzone, "pqipersongrp::tickTunnelServer()");
|
||||
|
||||
//p3ServiceServer::tick();
|
||||
|
||||
|
@ -89,11 +85,8 @@ int pqipersongrp::tickServiceSend()
|
|||
{
|
||||
RsRawItem *pqi = NULL;
|
||||
int i = 0;
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "pqipersongrp::tickServiceSend()";
|
||||
pqioutput(PQL_DEBUG_ALL, pqipersongrpzone, out.str());
|
||||
}
|
||||
|
||||
pqioutput(PQL_DEBUG_ALL, pqipersongrpzone, "pqipersongrp::tickServiceSend()");
|
||||
|
||||
p3ServiceServer::tick();
|
||||
|
||||
|
@ -390,11 +383,7 @@ void pqipersongrp::statusChanged()
|
|||
|
||||
int pqipersongrp::addPeer(std::string id)
|
||||
{
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "pqipersongrp::addPeer() PeerId: " << id;
|
||||
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone, out.str());
|
||||
}
|
||||
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone, "pqipersongrp::addPeer() PeerId: " + id);
|
||||
|
||||
std::cerr << "pqipersongrp::addPeer() id: " << id;
|
||||
std::cerr << std::endl;
|
||||
|
@ -707,11 +696,7 @@ pqilistener * pqipersongrpDummy::createListener(struct sockaddr_in /*laddr*/)
|
|||
|
||||
pqiperson * pqipersongrpDummy::createPerson(std::string id, pqilistener */*listener*/)
|
||||
{
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "pqipersongrpDummy::createPerson() PeerId: " << id;
|
||||
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone, out.str());
|
||||
}
|
||||
pqioutput(PQL_DEBUG_BASIC, pqipersongrpzone, "pqipersongrpDummy::createPerson() PeerId: " + id);
|
||||
|
||||
pqiperson *pqip = new pqiperson(id, this);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue