diff options
| author | Sam Varshavchik | 2015-05-09 20:14:26 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-05-09 20:14:26 -0400 | 
| commit | 8d6706a7f2417b81aa132e551548246bfd06aedf (patch) | |
| tree | ff48164ab006b317aff2828cfd26c9d73d1617cb /maildrop | |
| parent | 3ac62c55bbacc4af10aef9a5390bd14ec0cfc71e (diff) | |
| download | courier-libs-8d6706a7f2417b81aa132e551548246bfd06aedf.tar.bz2 | |
Don't include matched subpatterns in foreach.
Diffstat (limited to 'maildrop')
| -rw-r--r-- | maildrop/search.C | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/maildrop/search.C b/maildrop/search.C index 0823fbd..c50f8e9 100644 --- a/maildrop/search.C +++ b/maildrop/search.C @@ -337,7 +337,7 @@ void Search::init_match_vars(const char *str, int nranges, int *offsets,  			}  		} -		if (foreachp) +		if (cnt == 0 && foreachp)  		{  			*foreachp += v;  			*foreachp += '\0'; | 
