im.pidgin.cpw.resiak.disconnectreason: ce31027fc6df8a7d7f7376fc14b74e5b86d6d885
resiak at soc.pidgin.im
resiak at soc.pidgin.im
Wed Oct 3 13:58:08 EDT 2007
revision: ce31027fc6df8a7d7f7376fc14b74e5b86d6d885
date: 2007-09-21T15:02:18
author: resiak at soc.pidgin.im
branch: im.pidgin.cpw.resiak.disconnectreason
changelog:
Currently, SSL errors (other than SSL not being available) do not set
wants_to_die, so fix up reason_is_fatal to return false for them.
manifest:
format_version "1"
new_manifest [87b7b5e4edcb06fa0b358b73805a237315d70cb2]
old_revision [edcbd5ce480e670710b473fa1cc2b8a06e1d9057]
patch "libpurple/connection.c"
from [2a16922b3e0036275c55d93522697d4226d07972]
to [6854142cf73d6ad521796e639e8c916e2ffdbb6e]
-------------- next part --------------
#
#
# patch "libpurple/connection.c"
# from [2a16922b3e0036275c55d93522697d4226d07972]
# to [6854142cf73d6ad521796e639e8c916e2ffdbb6e]
#
============================================================
--- libpurple/connection.c 2a16922b3e0036275c55d93522697d4226d07972
+++ libpurple/connection.c 6854142cf73d6ad521796e639e8c916e2ffdbb6e
@@ -563,11 +563,6 @@ purple_connection_reason_is_fatal (Purpl
{
case PURPLE_REASON_NETWORK_ERROR:
case PURPLE_REASON_AUTHENTICATION_IMPOSSIBLE:
- return FALSE;
- case PURPLE_REASON_AUTHENTICATION_FAILED:
- case PURPLE_REASON_ENCRYPTION_ERROR:
- case PURPLE_REASON_NAME_IN_USE:
- case PURPLE_REASON_INVALID_USERNAME:
case PURPLE_REASON_CERT_NOT_PROVIDED:
case PURPLE_REASON_CERT_UNTRUSTED:
case PURPLE_REASON_CERT_EXPIRED:
@@ -576,6 +571,11 @@ purple_connection_reason_is_fatal (Purpl
case PURPLE_REASON_CERT_FINGERPRINT_MISMATCH:
case PURPLE_REASON_CERT_SELF_SIGNED:
case PURPLE_REASON_CERT_OTHER_ERROR:
+ return FALSE;
+ case PURPLE_REASON_AUTHENTICATION_FAILED:
+ case PURPLE_REASON_ENCRYPTION_ERROR:
+ case PURPLE_REASON_NAME_IN_USE:
+ case PURPLE_REASON_INVALID_USERNAME:
case PURPLE_REASON_OTHER_ERROR:
return TRUE;
default:
More information about the Commits
mailing list