Mercurial > dovecot > core-2.2
changeset 11165:8d45d4884019 HEAD
lib-storage: Shared namespace's prefix_len wasn't updated after prefix was truncated.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 16 Apr 2010 17:23:24 +0300 |
parents | ba3c809c18e5 |
children | 960c6936ba6a |
files | src/lib-storage/index/shared/shared-storage.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }