X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0c158e03ceb509a08d3d4ded79c3151237f669dd..83d94696716f55f9fe91b36f90f6900d948a5bca:/methods/server.cc 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; }