diff --git a/src/lmtp/lmtp-proxy.c b/src/lmtp/lmtp-proxy.c index 63667919f2..14e44b6de7 100644 --- a/src/lmtp/lmtp-proxy.c +++ b/src/lmtp/lmtp-proxy.c @@ -383,13 +383,6 @@ int lmtp_proxy_add_rcpt(struct lmtp_proxy *proxy, return 0; } -static void -lmtp_proxy_data_dummy_cb(const struct smtp_reply *proxy_reply ATTR_UNUSED, - struct lmtp_proxy_connection *conn ATTR_UNUSED) -{ - /* nothing */ -} - static bool client_proxy_rcpt_parse_fields(struct lmtp_proxy_rcpt_settings *set, const char *const *args, const char **address) @@ -595,6 +588,13 @@ bool client_proxy_rcpt(struct client *client, return TRUE; } +static void +lmtp_proxy_data_dummy_cb(const struct smtp_reply *proxy_reply ATTR_UNUSED, + struct lmtp_proxy_connection *conn ATTR_UNUSED) +{ + /* nothing */ +} + void lmtp_proxy_start(struct lmtp_proxy *proxy, struct istream *data_input, lmtp_proxy_finish_callback_t *callback, void *context) {