diff libpurple/connection.c @ 20792:682543aced31

Split the "you don't have SSL support" meaning of PURPLE_REASON_ENCRYPTION_ERROR into a new reason, PURPLE_REASON_NO_SSL_SUPPORT. This will let UIs give proper errors that reference the SSLfaq!
author Will Thompson <will.thompson@collabora.co.uk>
date Sat, 06 Oct 2007 12:05:22 +0000
parents 2d3032f710ac
children 66e7b104b4ea
line wrap: on
line diff
--- a/libpurple/connection.c	Fri Oct 05 18:40:05 2007 +0000
+++ b/libpurple/connection.c	Sat Oct 06 12:05:22 2007 +0000
@@ -573,14 +573,12 @@
 		case PURPLE_REASON_CERT_OTHER_ERROR:
 			return FALSE;
 		case PURPLE_REASON_AUTHENTICATION_FAILED:
+		case PURPLE_REASON_NO_SSL_SUPPORT:
 		case PURPLE_REASON_ENCRYPTION_ERROR:
 		case PURPLE_REASON_NAME_IN_USE:
 		case PURPLE_REASON_INVALID_SETTINGS:
 		case PURPLE_REASON_OTHER_ERROR:
 			return TRUE;
-		default:
-			g_assert_not_reached ();
-			return TRUE;
 	}
 }