]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission: Remove client_proxy_is_disconnected().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 15 Jul 2018 17:54:06 +0000 (19:54 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 12 Feb 2019 13:40:41 +0000 (15:40 +0200)
It is not used anywhere.

src/submission/submission-client.c
src/submission/submission-client.h

index e8435818378f012c87d989cbaee2ba5d334ddf61..76d7f6a141d38e72d65d9245634d40841b5c03f0 100644 (file)
@@ -415,12 +415,6 @@ void client_disconnect(struct client *client, const char *enh_code,
        }
 }
 
-bool client_proxy_is_disconnected(struct client *client)
-{
-       return (smtp_client_connection_get_state(client->proxy_conn) ==
-               SMTP_CLIENT_CONNECTION_STATE_DISCONNECTED);
-}
-
 uoff_t client_get_max_mail_size(struct client *client)
 {
        uoff_t max_size;
index 5c9b0d557f20bef88799f6aa23d4e3c2bdd92d82..82a59e11632c4aaf5c9dde0fcea4a677635035ef 100644 (file)
@@ -60,8 +60,6 @@ typedef void (*client_input_callback_t)(struct client *context);
 
 const char *client_state_get_name(struct client *client);
 
-bool client_proxy_is_disconnected(struct client *client);
-
 uoff_t client_get_max_mail_size(struct client *client);
 
 int client_input_read(struct client *client);