diff src/sslconn.c @ 6735:b0913ab92893

[gaim-migrate @ 7267] This is some compile warning cleanup stuff. I tried compiling with CFLAGS="-ansi -ggdb -pedantic -Wall" It's fun. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 04 Sep 2003 03:50:22 +0000
parents 36897b9e009f
children 6c95f01aaf49
line wrap: on
line diff
--- a/src/sslconn.c	Thu Sep 04 02:17:23 2003 +0000
+++ b/src/sslconn.c	Thu Sep 04 03:50:22 2003 +0000
@@ -291,7 +291,7 @@
 
 	return (GaimSslConnection)ssl_data;
 #else
-	g_return_val_if_fail(gaim_ssl_is_supported(), -1);
+	return GINT_TO_POINTER(-1);
 #endif
 }
 
@@ -345,13 +345,13 @@
 void
 gaim_ssl_uninit(void)
 {
+#ifdef HAVE_NSS
 	if (!_nss_initialized)
 		return;
 
-#ifdef HAVE_NSS
 	PR_Cleanup();
-#endif
 
 	_nss_initialized = FALSE;
 	_nss_methods     = NULL;
+#endif
 }