aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/ssl_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/ssl_util.c')
-rw-r--r--src/libutil/ssl_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/ssl_util.c b/src/libutil/ssl_util.c
index 7901644bb..b65243989 100644
--- a/src/libutil/ssl_util.c
+++ b/src/libutil/ssl_util.c
@@ -479,7 +479,7 @@ rspamd_ssl_shutdown (struct rspamd_ssl_connection *conn)
/* Cannot do anything else, fatal error */
GError *err = NULL;
- rspamd_tls_set_error (ret, "final shutdown", &err);
+ rspamd_tls_set_error (nret, "final shutdown", &err);
msg_debug_ssl ("ssl shutdown: fatal error: %e; retries=%d; ret=%d",
err, retries, ret);
g_error_free (err);