dovecot-2.0: virtual: Allow search rules to begin with TAB inste...
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 1 20:06:00 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/39f66363ec56
changeset: 9193:39f66363ec56
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 4f12a7c7f140 -r 39f66363ec56 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