dovecot-2.2: lib-storage: Allow storage name to contain '_'
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 29 21:11:16 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/ff4941acbfe2
changeset: 16897:ff4941acbfe2
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 29 21:11:10 2013 +0200
description:
lib-storage: Allow storage name to contain '_'
diffstat:
src/lib-storage/mail-storage.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e00ad71ee548 -r ff4941acbfe2 src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c Tue Oct 29 21:10:33 2013 +0200
+++ b/src/lib-storage/mail-storage.c Tue Oct 29 21:11:10 2013 +0200
@@ -118,7 +118,7 @@
/* check if data is in driver:data format (eg. mbox:~/mail) */
p = *data;
- while (i_isalnum(*p)) p++;
+ while (i_isalnum(*p) || *p == '_') p++;
if (*p == ':' && p != *data) {
/* no autodetection if the storage driver is given. */
More information about the dovecot-cvs
mailing list