changeset 11563:c03424ecf8e5 HEAD

imap: UID commands could have written garbage to process title. Patch by Mike Abbott / Apple
author Timo Sirainen <tss@iki.fi>
date Thu, 17 Jun 2010 13:53:14 +0100
parents 9eee74e3c6c5
children c24ee1ebb159
files src/imap/cmd-uid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/cmd-uid.c	Wed Jun 16 19:56:45 2010 +0100
+++ b/src/imap/cmd-uid.c	Thu Jun 17 13:53:14 2010 +0100
@@ -20,7 +20,7 @@
 		return TRUE;
 	}
 
-	cmd->name = t_strconcat("UID ", cmd_name, NULL);
+	cmd->name = p_strconcat(cmd->pool, "UID ", cmd_name, NULL);
 	cmd->cmd_flags = command->flags;
 	cmd->func = command->func;
 	cmd->uid = TRUE;