]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-proxy: Change client_proxy_failed() to be static
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 29 Apr 2020 12:23:05 +0000 (15:23 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 25 May 2020 08:38:55 +0000 (08:38 +0000)
The other client_proxy_*_failed() should be used instead.

src/login-common/client-common-auth.c
src/login-common/client-common.h

index 4ad0da78e6bf703ceffe6baf692662542641be99..1b4b059703be8ca2a908072b64d147fa8a3402af 100644 (file)
@@ -309,7 +309,7 @@ void client_proxy_log_failure(struct client *client, const char *line)
        e_info(login_proxy_get_event(client->login_proxy), "%s", str_c(str));
 }
 
-void client_proxy_failed(struct client *client, bool send_line)
+static void client_proxy_failed(struct client *client, bool send_line)
 {
        if (send_line)
                client_proxy_error(client, PROXY_FAILURE_MSG);
index 4b1951c60a3d1bfdd844503d78c63e66008149fd..7bf5de4fd041b09730e7fc4ecbca2e6cef2700b0 100644 (file)
@@ -323,7 +323,6 @@ int client_auth_read_line(struct client *client);
 
 void client_proxy_finish_destroy_client(struct client *client);
 void client_proxy_log_failure(struct client *client, const char *line);
-void client_proxy_failed(struct client *client, bool send_line);
 const char *client_proxy_get_state(struct client *client);
 
 void clients_notify_auth_connected(void);