Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix

Actually use mapAlreadyAskedFor.
This commit is contained in:
Jeff Garzik 2011-07-21 19:05:38 -07:00
commit c2da35319d
1 changed files with 1 additions and 0 deletions

View File

@ -2570,6 +2570,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
vGetData.clear();
}
}
mapAlreadyAskedFor[inv] = nNow;
pto->mapAskFor.erase(pto->mapAskFor.begin());
}
if (!vGetData.empty())