summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-06-03 15:34:03 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-06-03 15:34:03 +0100
commit3aa5fb00be821a198f42c69924ae02b393ac2b4b (patch)
tree4db88346f1006196924e24c8306fc05cede7eeb6
parent2b68e140a846db4f24f4e29dfa16db73dc35c37f (diff)
downloadexim4-3aa5fb00be821a198f42c69924ae02b393ac2b4b.tar.gz
SRS: avoid expanding ${srs_encode...} when guarded by ${if...}
-rw-r--r--src/src/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index 06dc58cb1..36c9f423b 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -6942,6 +6942,7 @@ while (*s)
case 2:
case 3: goto EXPAND_FAILED;
}
+ if (skipping) continue;
if (sub[1] && *(sub[1]))
{
@@ -7011,7 +7012,6 @@ while (*s)
else
DEBUG(D_expand) debug_printf_indent("null return_path for srs-encode\n");
- if (skipping) continue;
break;
}
#endif /*SUPPORT_SRS*/