aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/ssl_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-27 10:55:20 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-27 10:55:20 +0100
commita0d34edd00b42849901865e0a96b6a96f256bb80 (patch)
treebbd1718cf342105c787b25bcc2965a31370b47c0 /src/libutil/ssl_util.c
parent5c4c2ea802a22efc71842150d12862cdf7a5ca12 (diff)
downloadrspamd-a0d34edd00b42849901865e0a96b6a96f256bb80.tar.gz
rspamd-a0d34edd00b42849901865e0a96b6a96f256bb80.zip
[Fix] Fix couple of warnings
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 5b181f1bc..6d76beabd 100644
--- a/src/libutil/ssl_util.c
+++ b/src/libutil/ssl_util.c
@@ -364,7 +364,7 @@ rspamd_tls_set_error (gint retcode, const gchar *stage, GError **err)
{
GString *reason;
gchar buf[120];
- gint err_code, last_err;
+ gint err_code = 0, last_err = 0;
reason = g_string_sized_new (sizeof (buf));