diff libpurple/protocols/jabber/auth_plain.c @ 32330:a5b556ac1de5

Rename purple_connection_error_reason to purple_connection_error
author Mark Doliner <mark@kingant.net>
date Sun, 21 Aug 2011 08:00:53 +0000
parents 3f5ff1ea4802
children
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth_plain.c	Sun Aug 21 07:57:28 2011 +0000
+++ b/libpurple/protocols/jabber/auth_plain.c	Sun Aug 21 08:00:53 2011 +0000
@@ -75,7 +75,7 @@
 
 static void disallow_plaintext_auth(PurpleAccount *account)
 {
-	purple_connection_error_reason(purple_account_get_connection(account),
+	purple_connection_error(purple_account_get_connection(account),
 		PURPLE_CONNECTION_ERROR_ENCRYPTION_ERROR,
 		_("Server requires plaintext authentication over an unencrypted stream"));
 }