Skip to content

Commit

Permalink
lmtp: proxy: Renamed client_proxy_is_ourself() to lmtp_proxy_is_ourse…
Browse files Browse the repository at this point in the history
…lf().
  • Loading branch information
stephanbosch committed Dec 7, 2017
1 parent 582f781 commit 2f73bf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lmtp/lmtp-proxy.c
Expand Up @@ -371,8 +371,8 @@ lmtp_proxy_rcpt_parse_fields(struct lmtp_proxy_rcpt_settings *set,
}

static bool
client_proxy_is_ourself(const struct client *client,
const struct lmtp_proxy_rcpt_settings *set)
lmtp_proxy_is_ourself(const struct client *client,
const struct lmtp_proxy_rcpt_settings *set)
{
struct ip_addr ip;

Expand Down Expand Up @@ -499,7 +499,7 @@ bool client_proxy_rcpt(struct client *client,
} else {
address = smtp_address_add_detail_temp(user, detail, delim);
}
} else if (client_proxy_is_ourself(client, &set)) {
} else if (lmtp_proxy_is_ourself(client, &set)) {
i_error("Proxying to <%s> loops to itself", username);
client_send_line(client, "554 5.4.6 <%s> "
"Proxying loops to itself",
Expand Down

0 comments on commit 2f73bf1

Please sign in to comment.