SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / src / routers / rf_expand_data.c
index cf5b9cb8795abebb7632d7762167f1a23d6ac46c..9892567f0bf4c4b47c9402fe8bc4d9bd88425f4a 100644 (file)
@@ -4,6 +4,7 @@
 
 /* Copyright (c) University of Cambridge 1995 - 2009 */
 /* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 
 #include "../exim.h"
@@ -31,7 +32,7 @@ rf_expand_data(address_item *addr, uschar *s, int *prc)
 {
 uschar *yield = expand_string(s);
 if (yield != NULL) return yield;
-if (expand_string_forcedfail)
+if (f.expand_string_forcedfail)
   {
   DEBUG(D_route) debug_printf("forced failure for expansion of \"%s\"\n", s);
   *prc = DECLINE;