diff options
-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; } |