dovecot-2.2: doveadm mailbox attribute list: Prefix parameter wa...
    dovecot at dovecot.org 
    dovecot at dovecot.org
       
    Fri Sep 11 11:03:32 UTC 2015
    
    
  
details:   http://hg.dovecot.org/dovecot-2.2/rev/80a70ccadb85
changeset: 19143:80a70ccadb85
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 11 14:02:21 2015 +0300
description:
doveadm mailbox attribute list: Prefix parameter was ignored.
diffstat:
 src/doveadm/doveadm-mail-mailbox-metadata.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r d190ee84158b -r 80a70ccadb85 src/doveadm/doveadm-mail-mailbox-metadata.c
--- a/src/doveadm/doveadm-mail-mailbox-metadata.c	Fri Sep 11 14:02:01 2015 +0300
+++ b/src/doveadm/doveadm-mail-mailbox-metadata.c	Fri Sep 11 14:02:21 2015 +0300
@@ -270,6 +270,7 @@
 	if (args[1] != NULL)
 		cmd_mailbox_metadata_parse_key(args[1], &ctx->key_type, &key);
 	ctx->mailbox = p_strdup(_ctx->pool, args[0]);
+	ctx->key = key == NULL ? "" : p_strdup(_ctx->pool, key);
 	doveadm_print_header("key", "key",
 			     DOVEADM_PRINT_HEADER_FLAG_HIDE_TITLE);
 }
    
    
More information about the dovecot-cvs
mailing list