]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: smtp-client-connection - Drop the connection ID.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 28 Feb 2019 08:36:30 +0000 (09:36 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 1 Mar 2019 23:56:58 +0000 (00:56 +0100)
This is now unused.

src/lib-smtp/smtp-client-connection.c
src/lib-smtp/smtp-client-private.h

index e7212c9293c7236e75b02fa8e9c919e8096bd251..5505b2203de4c4da3ea6d78e50b9524fcd220adf 100644 (file)
@@ -1732,7 +1732,6 @@ smtp_client_connection_do_create(struct smtp_client *client, const char *name,
                                 enum smtp_protocol protocol,
                                 const struct smtp_client_settings *set)
 {
-       static unsigned int id = 0;
        struct smtp_client_connection *conn;
        pool_t pool;
 
@@ -1742,7 +1741,6 @@ smtp_client_connection_do_create(struct smtp_client *client, const char *name,
        conn->pool = pool;
 
        conn->client = client;
-       conn->id = id++;
        conn->protocol = protocol;
 
        conn->set = client->set;
index 916da8ede63580ed5ad1c8cada65fe3367f126a1..d1f09427eb87a51322cd4561a6c929b0f4e8f4f9 100644 (file)
@@ -158,7 +158,6 @@ struct smtp_client_connection {
        struct event *event;
 
        struct smtp_client *client;
-       unsigned int id;
 
        enum smtp_protocol protocol;
        const char *path, *host;