diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/expand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/expand.c b/src/src/expand.c index 2c29c26d5..26f7f10ac 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -2066,7 +2066,8 @@ switch (vp->type) case vtype_string_func: { stringptr_fn_t * fn = (stringptr_fn_t *) val; - return fn(); + uschar* s = fn(); + return s ? s : US""; } case vtype_pspace: |