Mercurial > 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 wrap: on
line diff
--- a/src/conf.c Wed Jun 30 15:00:59 2010 +0200 +++ b/src/conf.c Wed Jun 30 15:31:42 2010 +0200 @@ -358,7 +358,8 @@ c = fgetc(in); if (c != '\"') { - while ((isalnum(c) || c == '_' || c == '-' || c == '.' || c == '/' || c == '@' || c == ';') + while ((isalnum(c) || c == '_' || c == '-' || c == '.' + || c == '/' || c == '@' || c == ';' || c == ':') && (ptr < buf + size - 1) && (c != EOF)) { *ptr = c;