summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-01-26 22:19:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-01-26 22:19:16 +0100
commitfb9268c01da0c61213695e56dff0aaf6b6770c23 (patch)
tree7eac8b90e125f0a80a5581acbed69451aa2dce9b /src/plugins
parentfcd296d7f2d99ed27433b1bfc400c1b8d9c6bec8 (diff)
downloadweechat-fb9268c01da0c61213695e56dff0aaf6b6770c23.zip
Fix bug with SSL connection to IRC server (fails sometimes when ssl_verify is on) (bug #28741)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/irc/irc-server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index eee8b4684..50a3876a1 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -2239,6 +2239,8 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
(void) pk_algos;
(void) pk_algos_len;
+ rc = 0;
+
if (!data)
return -1;