aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r--protocols/jabber/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c
index 5ff8052c..5b9149af 100644
--- a/protocols/jabber/io.c
+++ b/protocols/jabber/io.c
@@ -291,7 +291,7 @@ gboolean jabber_connected_ssl( gpointer data, int returncode, void *source, b_in
already, set it to NULL here to prevent a double cleanup: */
jd->ssl = NULL;
- if( returncode & VERIFY_CERT_INVALID)
+ if( returncode != 0 )
{
char *err = ssl_verify_strerror( returncode );
imcb_error( ic, "Certificate verification problem 0x%x: %s",