mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-17 13:24:15 -05: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;
|
GxsPostedPostRanking *gp = *vit;
|
||||||
uint32_t status = mTokenService->requestStatus(gp->reqToken);
|
uint32_t status = mTokenService->requestStatus(gp->reqToken);
|
||||||
|
|
||||||
if(RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE
|
if(RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE == status)
|
||||||
== status)
|
|
||||||
{
|
{
|
||||||
ok = completePostedPostCalc(gp);
|
ok = completePostedPostCalc(gp);
|
||||||
|
|
||||||
@ -849,7 +848,7 @@ void p3Posted::calcPostedCommentsRank(const std::map<RsGxsMessageId, std::vector
|
|||||||
std::vector<PostedScore>::iterator cvit = scores.begin();
|
std::vector<PostedScore>::iterator cvit = scores.begin();
|
||||||
|
|
||||||
int i = 1;
|
int i = 1;
|
||||||
for(; cvit != scores.end(); cvit)
|
for(; cvit != scores.end(); ++cvit)
|
||||||
{
|
{
|
||||||
const PostedScore& p = *cvit;
|
const PostedScore& p = *cvit;
|
||||||
ranking.insert(std::make_pair(i++, p.msgId));
|
ranking.insert(std::make_pair(i++, p.msgId));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user