dovecot-2.0: lib-storage: Shared namespace's prefix_len wasn't u...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 16 17:23:55 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/8d45d4884019
changeset: 11165:8d45d4884019
user: Timo Sirainen <tss at iki.fi>
date: Fri Apr 16 17:23:24 2010 +0300
description:
lib-storage: Shared namespace's prefix_len wasn't updated after prefix was truncated.
diffstat:
src/lib-storage/index/shared/shared-storage.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r ba3c809c18e5 -r 8d45d4884019 src/lib-storage/index/shared/shared-storage.c
--- a/src/lib-storage/index/shared/shared-storage.c Fri Apr 16 16:44:15 2010 +0300
+++ b/src/lib-storage/index/shared/shared-storage.c Fri Apr 16 17:23:24 2010 +0300
@@ -80,6 +80,7 @@
/* truncate prefix after the above checks are done, so they can log
the full prefix in error conditions */
*wildcardp = '\0';
+ ns->prefix_len = strlen(ns->prefix);
return 0;
}
More information about the dovecot-cvs
mailing list