summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-08 09:45:11 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-08 09:45:11 +0200
commit8bb043fcd1def35cf516d0961a2b5e6ee53f0fd7 (patch)
tree6eb6756a0ddca17ab36e5b7d901d34685f0ed543 /methods
parent021eb71775bfa5b998d4f6006422691bc90fb799 (diff)
Fix ServerMethod::FindMaximumObjectSizeInQueue()
Git-Dch: ignore
Diffstat (limited to 'methods')
-rw-r--r--methods/server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/server.cc b/methods/server.cc
index cef809738..c4689ff12 100644
--- a/methods/server.cc
+++ b/methods/server.cc
@@ -715,7 +715,7 @@ unsigned long long
ServerMethod::FindMaximumObjectSizeInQueue() const
{
unsigned long long MaxSizeInQueue = 0;
- for (FetchItem *I = Queue->Next; I != 0 && I != QueueBack; I = I->Next)
+ for (FetchItem *I = Queue; I != 0 && I != QueueBack; I = I->Next)
MaxSizeInQueue = std::max(MaxSizeInQueue, I->MaximumSize);
return MaxSizeInQueue;
}