From: Stephan Bosch Date: Mon, 18 Sep 2017 20:32:43 +0000 (+0200) Subject: lmtp: proxy: Renamed client_proxy_rcpt() to lmtp_proxy_rcpt(). X-Git-Tag: 2.3.0.rc1~212 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4161404db08e61e835b330e8e12a4d0eb321ed3;p=thirdparty%2Fdovecot%2Fcore.git lmtp: proxy: Renamed client_proxy_rcpt() to lmtp_proxy_rcpt(). --- diff --git a/src/lmtp/commands.c b/src/lmtp/commands.c index b506a1a445..ff337258c7 100644 --- a/src/lmtp/commands.c +++ b/src/lmtp/commands.c @@ -245,7 +245,7 @@ int cmd_rcpt(struct client *client, const char *args) smtp_address_encode(address)); if (client->lmtp_set->lmtp_proxy) { - if (client_proxy_rcpt(client, address, username, detail, delim, + if (lmtp_proxy_rcpt(client, address, username, detail, delim, &rcpt->params)) return 0; } diff --git a/src/lmtp/lmtp-proxy.c b/src/lmtp/lmtp-proxy.c index e44f39d4f1..aacc60a6ed 100644 --- a/src/lmtp/lmtp-proxy.c +++ b/src/lmtp/lmtp-proxy.c @@ -428,10 +428,10 @@ int lmtp_proxy_add_rcpt(struct lmtp_proxy *proxy, return 0; } -bool client_proxy_rcpt(struct client *client, - struct smtp_address *address, - const char *username, const char *detail, char delim, - struct smtp_params_rcpt *params) +bool lmtp_proxy_rcpt(struct client *client, + struct smtp_address *address, + const char *username, const char *detail, char delim, + struct smtp_params_rcpt *params) { struct auth_master_connection *auth_conn; struct lmtp_proxy_rcpt_settings set; diff --git a/src/lmtp/lmtp-proxy.h b/src/lmtp/lmtp-proxy.h index eeb1cb9201..4bcd40c468 100644 --- a/src/lmtp/lmtp-proxy.h +++ b/src/lmtp/lmtp-proxy.h @@ -47,10 +47,10 @@ int lmtp_proxy_add_rcpt(struct lmtp_proxy *proxy, const struct smtp_address *address, const struct lmtp_proxy_rcpt_settings *set); -bool client_proxy_rcpt(struct client *client, - struct smtp_address *address, - const char *username, const char *detail, char delim, - struct smtp_params_rcpt *params); +bool lmtp_proxy_rcpt(struct client *client, + struct smtp_address *address, + const char *username, const char *detail, char delim, + struct smtp_params_rcpt *params); /* Start proxying */ void lmtp_proxy_start(struct lmtp_proxy *proxy, struct istream *data_input,