Mercurial > pidgin
changeset 20122:e78b4aa457a7
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.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 21 Sep 2007 15:02:18 +0000 |
parents | e4bcdd9622c2 |
children | b2c46103a5b4 |
files | libpurple/connection.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/connection.c Thu Sep 20 17:30:59 2007 +0000 +++ b/libpurple/connection.c Fri Sep 21 15:02:18 2007 +0000 @@ -563,11 +563,6 @@ { 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 @@ 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: