Mercurial > pidgin.yaz
comparison libpurple/connection.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 | 2d3032f710ac |
children | 66e7b104b4ea |
comparison
equal
deleted
inserted
replaced
20791:0f607b50279c | 20792:682543aced31 |
---|---|
571 case PURPLE_REASON_CERT_FINGERPRINT_MISMATCH: | 571 case PURPLE_REASON_CERT_FINGERPRINT_MISMATCH: |
572 case PURPLE_REASON_CERT_SELF_SIGNED: | 572 case PURPLE_REASON_CERT_SELF_SIGNED: |
573 case PURPLE_REASON_CERT_OTHER_ERROR: | 573 case PURPLE_REASON_CERT_OTHER_ERROR: |
574 return FALSE; | 574 return FALSE; |
575 case PURPLE_REASON_AUTHENTICATION_FAILED: | 575 case PURPLE_REASON_AUTHENTICATION_FAILED: |
576 case PURPLE_REASON_NO_SSL_SUPPORT: | |
576 case PURPLE_REASON_ENCRYPTION_ERROR: | 577 case PURPLE_REASON_ENCRYPTION_ERROR: |
577 case PURPLE_REASON_NAME_IN_USE: | 578 case PURPLE_REASON_NAME_IN_USE: |
578 case PURPLE_REASON_INVALID_SETTINGS: | 579 case PURPLE_REASON_INVALID_SETTINGS: |
579 case PURPLE_REASON_OTHER_ERROR: | 580 case PURPLE_REASON_OTHER_ERROR: |
580 return TRUE; | 581 return TRUE; |
581 default: | |
582 g_assert_not_reached (); | |
583 return TRUE; | |
584 } | 582 } |
585 } | 583 } |
586 | 584 |
587 void | 585 void |
588 purple_connections_disconnect_all(void) | 586 purple_connections_disconnect_all(void) |