Removed some std::ostringstream.

To be continued.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5104 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-04-15 14:37:44 +00:00
parent 83bd45caa4
commit 470951d664
10 changed files with 136 additions and 191 deletions

View file

@ -29,7 +29,6 @@
#include "retroshare/rsplugin.h"
#include "tcponudp/tou.h"
#include <sstream>
#include <unistd.h>
#include "pqi/authssl.h"
@ -258,15 +257,12 @@ void RsServer::run()
double cycleTime = endCycleTs - ts;
if (cycleTime > WARN_BIG_CYCLE_TIME)
{
std::ostringstream out;
out << "RsServer::run() WARNING Excessively Long Cycle Time: " << cycleTime;
out << " secs => Please DEBUG";
std::cerr << out.str() << std::endl;
std::string out;
rs_sprintf(out, "RsServer::run() WARNING Excessively Long Cycle Time: %g secs => Please DEBUG", cycleTime);
std::cerr << out << std::endl;
rslog(RSL_ALERT, rsserverzone, out.str());
rslog(RSL_ALERT, rsserverzone, out);
}
}
return;
}