]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Maildir++ quota: Error handling fix.
authorTimo Sirainen <tss@iki.fi>
Sun, 4 Apr 2010 22:27:58 +0000 (01:27 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 4 Apr 2010 22:27:58 +0000 (01:27 +0300)
--HG--
branch : HEAD

src/plugins/quota/quota-maildir.c

index 2d7ff58b30dba9e33e474c560b8b9017c3ad8afe..226fb17c59d2ff33c8738963ff7e11578432af28 100644 (file)
@@ -229,7 +229,7 @@ static int maildirsize_write(struct maildir_quota_root *root, const char *path)
 
        /* figure out what permissions we should use for maildirsize.
           use the inbox namespace's permissions if possible. */
-       mode = 0600; dir_mode = 0700; gid_origin = "default";
+       mode = 0600; dir_mode = 0700; dir_gid_origin = gid_origin = "default";
        gid = dir_gid = (gid_t)-1;
        namespaces = array_get(&root->root.quota->namespaces, &count);
        i_assert(count > 0);