Mercurial > pidgin
comparison libpurple/protocols/oscar/family_chat.c @ 25211:ea70a446dde4
First pass at adding SSL connections to OSCAR.
Both AIM and ICQ can connect.
Three FLAP servers seem to dislike SSL:
(15:39:46) nss: Handshake failed (-5961)
(15:39:46) oscar: unable to connect to FLAP server of type 0x0018
(15:39:46) nss: Handshake failed (-5961)
(15:39:46) oscar: unable to connect to FLAP server of type 0x000d
(15:39:46) nss: Handshake failed (-5961)
(15:39:46) oscar: unable to connect to FLAP server of type 0x0010
As a consequence, neither buddy icons nor chats work currently.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 10 Dec 2008 23:41:28 +0000 |
parents | 9c0ee2491ed1 |
children | 420907755a2f |
comparison
equal
deleted
inserted
replaced
24678:2f84f888d3db | 25211:ea70a446dde4 |
---|---|
77 conn = cur->data; | 77 conn = cur->data; |
78 ccp = (struct chatconnpriv *)conn->internal; | 78 ccp = (struct chatconnpriv *)conn->internal; |
79 | 79 |
80 if (conn->type != SNAC_FAMILY_CHAT) | 80 if (conn->type != SNAC_FAMILY_CHAT) |
81 continue; | 81 continue; |
82 if (!conn->internal) { | 82 if (!conn->internal) |
83 purple_debug_misc("oscar", "faim: chat: chat connection with no name! (fd = %d)\n", conn->fd); | 83 { |
84 purple_debug_misc("oscar", "%sfaim: chat: chat connection with no name! (fd = %d)\n", | |
85 conn->gsc ? "(ssl) " : "", conn->gsc ? conn->gsc->fd : conn->fd); | |
84 continue; | 86 continue; |
85 } | 87 } |
86 | 88 |
87 if (strcmp(ccp->name, name) == 0) | 89 if (strcmp(ccp->name, name) == 0) |
88 return conn;; | 90 return conn; |
89 } | 91 } |
90 | 92 |
91 return NULL; | 93 return NULL; |
92 } | 94 } |
93 | 95 |