Mercurial > pidgin.yaz
diff libpurple/protocols/msn/msn.c @ 21358:ba41f2a60253
Rename:
* PurpleDisconnectReason to PurpleConnectionError;
* elements of that enum from PURPLE_REASON_* to PURPLE_CONNECTION_ERROR_*;
* purple_connection_reason_is_fatal to purple_connection_error_is_fatal.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 14 Oct 2007 21:08:42 +0000 |
parents | fa3c4c5dea66 |
children | e747ac0c42d6 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Sun Oct 14 12:19:20 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Sun Oct 14 21:08:42 2007 +0000 @@ -820,7 +820,8 @@ if (!purple_ssl_is_supported()) { - purple_connection_error_reason (gc, PURPLE_REASON_NO_SSL_SUPPORT, + purple_connection_error_reason (gc, + PURPLE_CONNECTION_ERROR_NO_SSL_SUPPORT, _("SSL support is needed for MSN. Please install a supported " "SSL library.")); return; @@ -849,7 +850,8 @@ purple_account_set_username(account, username); if (!msn_session_connect(session, host, port, http_method)) - purple_connection_error_reason (gc, PURPLE_REASON_NETWORK_ERROR, + purple_connection_error_reason (gc, + PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Failed to connect to server.")); }