Fixed a typo: mConcurrectConnections -> mConcurrentConnections

That's what you get for only copy&pasting variable names.
This commit is contained in:
Aleric Inglewood
2013-06-26 13:23:10 +02:00
parent 58972a1f87
commit 32681403c6
4 changed files with 22 additions and 22 deletions

View File

@@ -2717,14 +2717,14 @@ AIPerService::Approvement* AIPerService::approveHTTPRequestFor(AIPerServicePtr c
ct.mFlags = 0;
if (decrement_threshold)
{
if ((int)ct.mMaxPipelinedRequests > ct.mConcurrectConnections)
if ((int)ct.mMaxPipelinedRequests > ct.mConcurrentConnections)
{
ct.mMaxPipelinedRequests--;
}
}
else if (increment_threshold && reject)
{
if ((int)ct.mMaxPipelinedRequests < 2 * ct.mConcurrectConnections)
if ((int)ct.mMaxPipelinedRequests < 2 * ct.mConcurrentConnections)
{
ct.mMaxPipelinedRequests++;
// Immediately take the new threshold into account.