dovecot-1.2: virtual: Allow search rules to begin with TAB inste...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 1 20:05:50 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/2f895db2af46
changeset: 9003:2f895db2af46
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 01 13:05:45 2009 -0400
description:
virtual: Allow search rules to begin with TAB instead of space.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/virtual/virtual-config.c |    2 +-

diffs (12 lines):

diff -r 89b825b20f76 -r 2f895db2af46 src/plugins/virtual/virtual-config.c
--- a/src/plugins/virtual/virtual-config.c	Fri May 01 13:01:09 2009 -0400
+++ b/src/plugins/virtual/virtual-config.c	Fri May 01 13:05:45 2009 -0400
@@ -98,7 +98,7 @@ virtual_config_parse_line(struct virtual
 	struct virtual_backend_box *bbox;
 	const char *name;
 
-	if (*line == ' ') {
+	if (*line == ' ' || *line == '\t') {
 		/* continues the previous search rule */
 		if (ctx->rule_idx == array_count(&ctx->mbox->backend_boxes)) {
 			*error_r = "Search rule without a mailbox";


More information about the dovecot-cvs mailing list