mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -04:00
removed debug info and added comment
This commit is contained in:
parent
ea82d26b75
commit
22f2edb5ad
2 changed files with 6 additions and 4 deletions
|
@ -2138,7 +2138,9 @@ void RsGenExchange::publishMsgs()
|
|||
if(createOk && validSize)
|
||||
{
|
||||
// empty orig msg id means this is the original
|
||||
// msg
|
||||
// msg.
|
||||
// (csoler) Why are we doing this???
|
||||
|
||||
if(msg->metaData->mOrigMsgId.isNull())
|
||||
{
|
||||
msg->metaData->mOrigMsgId = msg->metaData->mMsgId;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#define DEBUG_FORUMS
|
||||
//#define DEBUG_FORUMS
|
||||
|
||||
#define PROGRESSBAR_MAX 100
|
||||
|
||||
|
@ -232,7 +232,7 @@ void GxsForumsFillThread::run()
|
|||
|
||||
if(it2 != mPostVersions.end())
|
||||
{
|
||||
for(uint32_t j=0;j<(*it2).size();++j)
|
||||
for(int32_t j=0;j<(*it2).size();++j)
|
||||
if((*it2)[j].second != sub_msg_id) // dont copy it, since it is already present at slot i
|
||||
v.append((*it2)[j]) ;
|
||||
|
||||
|
@ -261,7 +261,7 @@ void GxsForumsFillThread::run()
|
|||
#ifdef DEBUG_FORUMS
|
||||
std::cerr << " most recent version " << (*it)[0].first << " " << (*it)[0].second << std::endl;
|
||||
#endif
|
||||
for(uint32_t i=1;i<(*it).size();++i)
|
||||
for(int32_t i=1;i<(*it).size();++i)
|
||||
{
|
||||
msgs.erase((*it)[i].second) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue