X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/96c065cb7bcdfc0965fb111e1eab6e9180e9e186..184e88237dea64ce48076cdd0184612d057cbafd:/src/src/expand.c diff --git a/src/src/expand.c b/src/src/expand.c index 7f1515c98..83cd74962 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -1,10 +1,10 @@ -/* $Cambridge: exim/src/src/expand.c,v 1.73 2006/12/05 11:35:28 ph10 Exp $ */ +/* $Cambridge: exim/src/src/expand.c,v 1.75 2007/01/08 10:50:18 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2006 */ +/* Copyright (c) University of Cambridge 1995 - 2007 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -1986,7 +1986,7 @@ switch(cond_type) conditions that compare numbers do not start with a letter. This just saves checking for them individually. */ - if (!isalpha(name[0])) + if (!isalpha(name[0]) && yield != NULL) { num[i] = expand_string_integer(sub[i], FALSE); if (expand_string_message != NULL) return NULL;