diff --git a/roxie/ccd/ccdqueue.cpp b/roxie/ccd/ccdqueue.cpp index ace0ff1da9d..1bd458b57cc 100644 --- a/roxie/ccd/ccdqueue.cpp +++ b/roxie/ccd/ccdqueue.cpp @@ -2218,7 +2218,7 @@ class DelayedPacketQueue if (tail) { tail->next = newEntry; - for (DelayedPacketEntry *finger = tail; finger != nullptr; finger = finger->prev) + for (DelayedPacketEntry *finger = tail; finger != nullptr;) { if ((int) (finger->waitExpires - expires) <= 0) break;