changeset 19506:c3405700c2fe

- Change assert on ssl init failure to a mere warning
author William Ehlhardt <williamehlhardt@gmail.com>
date Tue, 28 Aug 2007 03:31:38 +0000
parents 23f4d2ded500
children 7086c311867a
files libpurple/sslconn.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/sslconn.c	Tue Aug 28 01:57:49 2007 +0000
+++ b/libpurple/sslconn.c	Tue Aug 28 03:31:38 2007 +0000
@@ -297,7 +297,10 @@
 	/* Although purple_ssl_is_supported will do the initialization on
 	   command, SSL plugins tend to register CertificateSchemes as well
 	   as providing SSL ops. */
-	g_assert(ssl_init());
+	if ( !ssl_init() ) {
+		purple_debug_error("sslconn",
+				   "SSL subsystem failed to init!\n");
+	}
 }
 
 void