Skip to content

Commit

Permalink
lmtp: local: Renamed client_input_data_write_local() to lmtp_local_da…
Browse files Browse the repository at this point in the history
…ta().
  • Loading branch information
stephanbosch committed Dec 7, 2017
1 parent d14a896 commit 8a68f5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lmtp/commands.c
Expand Up @@ -482,7 +482,7 @@ static void client_input_data_write(struct client *client)

input = client_get_input(client);
if (array_count(&client->state.rcpt_to) != 0)
client_input_data_write_local(client, input);
lmtp_local_data(client, input);
if (client->proxy != NULL) {
client_state_set(client, "DATA", "proxying");
lmtp_proxy_start(client->proxy, input,
Expand Down
2 changes: 1 addition & 1 deletion src/lmtp/lmtp-local.c
Expand Up @@ -425,7 +425,7 @@ lmtp_local_open_raw_mail(struct client *client,
return 0;
}

void client_input_data_write_local(struct client *client, struct istream *input)
void lmtp_local_data(struct client *client, struct istream *input)
{
struct mail_deliver_session *session;
uid_t old_uid, first_uid;
Expand Down
2 changes: 1 addition & 1 deletion src/lmtp/lmtp-local.h
Expand Up @@ -11,6 +11,6 @@ bool cmd_rcpt_finish(struct client *client, struct lmtp_recipient *rcpt);

void rcpt_anvil_lookup_callback(const char *reply, void *context);

void client_input_data_write_local(struct client *client, struct istream *input);
void lmtp_local_data(struct client *client, struct istream *input);

#endif

0 comments on commit 8a68f5b

Please sign in to comment.