From 06abdefb5b1f70a21af63dc369aaf6116565ec9b Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 8 Nov 2010 12:43:04 +0100 Subject: [PATCH] Keep track of "last in list" properly. Patch from James Ballantine. Every other instance of "continue" in this function sets "tailfrom". This one should, too. --- src/main/valuepair.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/valuepair.c b/src/main/valuepair.c index 50f4cb6..96d76c3 100644 --- a/src/main/valuepair.c +++ b/src/main/valuepair.c @@ -573,6 +573,7 @@ void pairxlatmove(REQUEST *req, VALUE_PAIR **to, VALUE_PAIR **from) * Don't move 'fallthrough' over. */ if (i->attribute == PW_FALL_THROUGH) { + tailfrom = i; continue; } -- 2.1.4