diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 09:45:11 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 09:45:11 +0200 |
commit | 8bb043fcd1def35cf516d0961a2b5e6ee53f0fd7 (patch) | |
tree | 6eb6756a0ddca17ab36e5b7d901d34685f0ed543 /methods | |
parent | 021eb71775bfa5b998d4f6006422691bc90fb799 (diff) |
Fix ServerMethod::FindMaximumObjectSizeInQueue()
Git-Dch: ignore
Diffstat (limited to 'methods')
-rw-r--r-- | methods/server.cc | 2 |
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; } |