]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
*-login: Remove unused client.proxy_state
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 9 Mar 2017 16:32:21 +0000 (11:32 -0500)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 9 Mar 2017 16:44:02 +0000 (11:44 -0500)
src/login-common/client-common-auth.c
src/login-common/client-common.h

index 8f851cdb4f9aef6a598ca34f376bf3ef86b4bef8..07bc1b71c755c19e9c52ea045b36bf55e1342aca 100644 (file)
@@ -277,10 +277,7 @@ static void client_proxy_error(struct client *client, const char *text)
 
 const char *client_proxy_get_state(struct client *client)
 {
-       if (client->v.proxy_get_state == NULL)
-               return dec2str(client->proxy_state);
-       else
-               return client->v.proxy_get_state(client);
+       return client->v.proxy_get_state(client);
 }
 
 void client_proxy_log_failure(struct client *client, const char *line)
index ff7c3c3acf2a00a27e73504c0413ca80e56faa39..c70f5b7445afb69f082760a628223f008c52c531 100644 (file)
@@ -152,7 +152,6 @@ struct client {
        char *proxy_user, *proxy_master_user, *proxy_password;
        const struct dsasl_client_mech *proxy_mech;
        struct dsasl_client *proxy_sasl_client;
-       unsigned int proxy_state;
        unsigned int proxy_ttl;
 
        char *auth_mech_name;