Browse Source

Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix

Actually use mapAlreadyAskedFor.
miguelfreitas
Jeff Garzik 14 years ago
parent
commit
c2da35319d
  1. 1
      src/main.cpp

1
src/main.cpp

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

Loading…
Cancel
Save