Skip to content

Commit

Permalink
lib-smtp: smtp-submit - Rename event setting to event_parent.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Mar 12, 2019
1 parent b15f9fc commit e8ecb70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib-smtp/smtp-submit.c
Expand Up @@ -85,7 +85,7 @@ smtp_submit_session_init(const struct smtp_submit_input *input,
input->ssl);
}

session->event = event_create(input->event);
session->event = event_create(input->event_parent);
event_add_category(session->event, &event_category_smtp_submit);

return session;
Expand Down
4 changes: 2 additions & 2 deletions src/lib-smtp/smtp-submit.h
Expand Up @@ -13,8 +13,8 @@ struct smtp_submit_input {
/* SSL settings */
const struct ssl_iostream_settings *ssl;

/* Event to use */
struct event *event;
/* Event to use as parent for the submit event */
struct event *event_parent;
};

struct smtp_submit_result {
Expand Down

0 comments on commit e8ecb70

Please sign in to comment.