diff libpurple/protocols/irc/irc.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 8174f6999308
children efa448405f3d
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Fri Oct 05 18:40:05 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Sat Oct 06 12:05:22 2007 +0000
@@ -329,7 +329,7 @@
 					irc_login_cb_ssl, irc_ssl_connect_failure, gc);
 		} else {
 			gc->wants_to_die = TRUE;
-			purple_connection_error_reason (gc, PURPLE_REASON_ENCRYPTION_ERROR,
+			purple_connection_error_reason (gc, PURPLE_REASON_NO_SSL_SUPPORT,
 				_("SSL support unavailable"));
 			return;
 		}