masqmail-0.2

diff src/conf.c @ 115:315773f814f7

allow `:' unquoted too; updated masqmail.conf.5 (Thanks to Paolo) rvalues with colons were probably already read correctly although unquoted
author meillo@marmaro.de
date Wed, 30 Jun 2010 15:31:42 +0200
parents a80ebfa16cd5
children 5ec5e6637049
line diff
     1.1 --- a/src/conf.c	Wed Jun 30 15:00:59 2010 +0200
     1.2 +++ b/src/conf.c	Wed Jun 30 15:31:42 2010 +0200
     1.3 @@ -358,7 +358,8 @@
     1.4  
     1.5  	c = fgetc(in);
     1.6  	if (c != '\"') {
     1.7 -		while ((isalnum(c) || c == '_' || c == '-' || c == '.' || c == '/' || c == '@' || c == ';')
     1.8 +		while ((isalnum(c) || c == '_' || c == '-' || c == '.'
     1.9 +		        || c == '/' || c == '@' || c == ';' || c == ':')
    1.10  		       && (ptr < buf + size - 1)
    1.11  		       && (c != EOF)) {
    1.12  			*ptr = c;