mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug (Plz drbob & chris, check this one)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6173 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1efaa6d5ab
commit
4d6ca28e53
@ -578,8 +578,7 @@ void p3Posted::processPostRanks()
|
||||
GxsPostedPostRanking *gp = *vit;
|
||||
uint32_t status = mTokenService->requestStatus(gp->reqToken);
|
||||
|
||||
if(RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE
|
||||
== status)
|
||||
if(RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE == status)
|
||||
{
|
||||
ok = completePostedPostCalc(gp);
|
||||
|
||||
@ -849,7 +848,7 @@ void p3Posted::calcPostedCommentsRank(const std::map<RsGxsMessageId, std::vector
|
||||
std::vector<PostedScore>::iterator cvit = scores.begin();
|
||||
|
||||
int i = 1;
|
||||
for(; cvit != scores.end(); cvit)
|
||||
for(; cvit != scores.end(); ++cvit)
|
||||
{
|
||||
const PostedScore& p = *cvit;
|
||||
ranking.insert(std::make_pair(i++, p.msgId));
|
||||
|
Loading…
Reference in New Issue
Block a user