]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-proxy: Remove unused login_proxy.disconnecting field
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Apr 2020 18:57:36 +0000 (21:57 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 24 Apr 2020 08:02:40 +0000 (08:02 +0000)
src/login-common/login-proxy.c

index 1d46a65c3c56c1503217e0470d1420b97d540f0e..a0934b0274a1d406fd29bf13dfaaf828cd615f67 100644 (file)
@@ -65,7 +65,6 @@ struct login_proxy {
        bool connected:1;
        bool detached:1;
        bool destroying:1;
-       bool disconnecting:1;
        bool delayed_disconnect:1;
        bool num_waiting_connections_updated:1;
 };
@@ -564,7 +563,7 @@ bool login_proxy_is_ourself(const struct client *client, const char *host,
 
 struct istream *login_proxy_get_istream(struct login_proxy *proxy)
 {
-       return proxy->disconnecting ? NULL : proxy->server_input;
+       return proxy->server_input;
 }
 
 struct ostream *login_proxy_get_ostream(struct login_proxy *proxy)