Mercurial > masqmail-0.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
114:a80ebfa16cd5 | 115:315773f814f7 |
---|---|
356 if (!eat_spaces(in)) | 356 if (!eat_spaces(in)) |
357 return FALSE; | 357 return FALSE; |
358 | 358 |
359 c = fgetc(in); | 359 c = fgetc(in); |
360 if (c != '\"') { | 360 if (c != '\"') { |
361 while ((isalnum(c) || c == '_' || c == '-' || c == '.' || c == '/' || c == '@' || c == ';') | 361 while ((isalnum(c) || c == '_' || c == '-' || c == '.' |
362 || c == '/' || c == '@' || c == ';' || c == ':') | |
362 && (ptr < buf + size - 1) | 363 && (ptr < buf + size - 1) |
363 && (c != EOF)) { | 364 && (c != EOF)) { |
364 *ptr = c; | 365 *ptr = c; |
365 ptr++; | 366 ptr++; |
366 c = fgetc(in); | 367 c = fgetc(in); |