]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
submission: Remove client_proxy_is_ready().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Sun, 15 Jul 2018 17:52:41 +0000 (19:52 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 9 Oct 2018 06:41:17 +0000 (06:41 +0000)
It is not used anywhere.

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

index 8164ab94dd927fa35fce860189db996e155db2ea..e8435818378f012c87d989cbaee2ba5d334ddf61 100644 (file)
@@ -415,12 +415,6 @@ void client_disconnect(struct client *client, const char *enh_code,
        }
 }
 
-bool client_proxy_is_ready(struct client *client)
-{
-       return (smtp_client_connection_get_state(client->proxy_conn) ==
-               SMTP_CLIENT_CONNECTION_STATE_READY);
-}
-
 bool client_proxy_is_disconnected(struct client *client)
 {
        return (smtp_client_connection_get_state(client->proxy_conn) ==
index 6b5a93c943101007fe873c972c763856f9331cd3..5c9b0d557f20bef88799f6aa23d4e3c2bdd92d82 100644 (file)
@@ -60,7 +60,6 @@ typedef void (*client_input_callback_t)(struct client *context);
 
 const char *client_state_get_name(struct client *client);
 
-bool client_proxy_is_ready(struct client *client);
 bool client_proxy_is_disconnected(struct client *client);
 
 uoff_t client_get_max_mail_size(struct client *client);