]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-common: Remove client_log*() functions
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Apr 2020 19:51:17 +0000 (22:51 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Fri, 24 Apr 2020 08:02:40 +0000 (08:02 +0000)
src/login-common/client-common.c
src/login-common/client-common.h

index f0d8412ca4f753edb123ba50a034eb1449cb4ccc..b201a0b95782f72358fd93f3751dbb1777331419 100644 (file)
@@ -940,21 +940,6 @@ client_get_log_str(struct client *client, const char *msg)
        return str_c(str);
 }
 
-void client_log(struct client *client, const char *msg)
-{
-       e_info(client->event, "%s", msg);
-}
-
-void client_log_err(struct client *client, const char *msg)
-{
-       e_error(client->event, "%s", msg);
-}
-
-void client_log_warn(struct client *client, const char *msg)
-{
-       e_warning(client->event, "%s", msg);
-}
-
 bool client_is_tls_enabled(struct client *client)
 {
        return login_ssl_initialized && strcmp(client->ssl_set->ssl, "no") != 0;
index 4145e683056442d4fb3143002ae9d2bbf6e2c200..4b1951c60a3d1bfdd844503d78c63e66008149fd 100644 (file)
@@ -281,9 +281,6 @@ struct client *clients_get_first_fd_proxy(void);
 void client_add_forward_field(struct client *client, const char *key,
                              const char *value);
 void client_set_title(struct client *client);
-void client_log(struct client *client, const char *msg);
-void client_log_err(struct client *client, const char *msg);
-void client_log_warn(struct client *client, const char *msg);
 const char *client_get_extra_disconnect_reason(struct client *client);
 
 void client_auth_respond(struct client *client, const char *response);