From: Philip Hazel Date: Wed, 12 Oct 2005 11:20:41 +0000 (+0000) Subject: Oops, I introduced a bug in ${prvstest changes, shown up by building (new) X-Git-Tag: exim-4_61~137 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/5a03bd24ee73e09f4bd086654d5ad1fa9b973996 Oops, I introduced a bug in ${prvstest changes, shown up by building (new) tests. Of course, it might have been helpful to do the tests before my previous commit... --- diff --git a/src/src/expand.c b/src/src/expand.c index 7ec3665bb..a501cfe04 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/expand.c,v 1.45 2005/10/12 11:00:34 ph10 Exp $ */ +/* $Cambridge: exim/src/src/expand.c,v 1.46 2005/10/12 11:20:41 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -3530,7 +3530,7 @@ while (*s != 0) We need to make sure all subs are expanded first, so as to skip over the entire item. */ - switch(read_subs(sub_arg, 3, 3, &s, skipping, TRUE, US"prvs")) + switch(read_subs(sub_arg, 2, 1, &s, skipping, TRUE, US"prvs")) { case 1: goto EXPAND_FAILED_CURLY; case 2: