Generated with imap_write_args_for_human()
imap_write_args(str, *args_r);
cmd->args = p_strdup(cmd->pool, str_c(str));
+ str_truncate(str, 0);
+ imap_write_args_for_human(str, *args_r);
+ cmd->human_args = p_strdup(cmd->pool, str_c(str));
+
cmd->client->input_lock = NULL;
return TRUE;
} else if (ret == -2) {
arguments, so they may not be exactly the same as how client sent
them. */
const char *args;
+ /* Parameters for this command generated with
+ imap_write_args_for_human(), so it's suitable for logging. */
+ const char *human_args;
enum command_flags cmd_flags;
const char *tagline_reply;