Skip to content

Commit

Permalink
imap: Added struct client_command_context.tagline_reply
Browse files Browse the repository at this point in the history
Can be used by plugins.
  • Loading branch information
sirainen committed May 2, 2016
1 parent cc76991 commit 3c5d118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/imap/imap-client.c
Expand Up @@ -506,6 +506,7 @@ void client_send_tagline(struct client_command_context *cmd, const char *data)

i_assert(!cmd->tagline_sent);
cmd->tagline_sent = TRUE;
cmd->tagline_reply = p_strdup(cmd->pool, data);

if (tag == NULL || *tag == '\0')
tag = "*";
Expand Down
1 change: 1 addition & 0 deletions src/imap/imap-client.h
Expand Up @@ -66,6 +66,7 @@ struct client_command_context {
them. */
const char *args;
enum command_flags cmd_flags;
const char *tagline_reply;

command_func_t *func;
void *context;
Expand Down

0 comments on commit 3c5d118

Please sign in to comment.