aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2011-07-21 19:05:38 -0700
committerJeff Garzik <jgarzik@exmulti.com>2011-07-21 19:05:38 -0700
commitc2da35319d7d9c2a28a2299d09176a0459cf7e00 (patch)
tree7ae4dcfad59382948bb0f945d164aa648e0b93c2 /src
parent9e3e21efeb52cd91d4507a9e8e07c68bafb65223 (diff)
parent643160f6e7e5e8ca84bc7d2c1a0f37d9cf43a6e1 (diff)
Merge pull request #423 from TheBlueMatt/mapalreadyaskedforfix
Actually use mapAlreadyAskedFor.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e3ad35044e..8697c6f2a7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2570,6 +2570,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
vGetData.clear();
}
}
+ mapAlreadyAskedFor[inv] = nNow;
pto->mapAskFor.erase(pto->mapAskFor.begin());
}
if (!vGetData.empty())