summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}