From 5e8880039b355037be1b98a1639d1649082e3847 Mon Sep 17 00:00:00 2001 From: Anton Rieger Date: Thu, 12 Oct 2017 22:04:48 +0200 Subject: [PATCH] Deprecation: changed called function in mutt_sasl.c * mutt_sasl_done() --- mutt_sasl.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mutt_sasl.c b/mutt_sasl.c index c7e22e472..ef92ea8a3 100644 --- a/mutt_sasl.c +++ b/mutt_sasl.c @@ -631,7 +631,13 @@ void mutt_sasl_setup_conn(struct Connection *conn, sasl_conn_t *saslconn) conn->conn_poll = mutt_sasl_conn_poll; } +/* + * mutt_sasl_done - Invoke when processing is complete. + * This is a cleanup function, used to free all memory used by the library. + * Invoke when processing is complete. + */ void mutt_sasl_done(void) { - sasl_done(); + /* As we never use the server-side, the silently ignore the return value */ + sasl_client_done(); } -- 2.40.0