From: <the...@us...> - 2006-05-04 12:18:21
|
Revision: 16133 Author: thekingant Date: 2006-05-04 05:18:03 -0700 (Thu, 04 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16133&view=rev Log Message: ----------- Kevin, let me know if this does or doesn't help your problems with AIM/ICQ not realizing that it has been disconnected Modified Paths: -------------- trunk/src/protocols/oscar/flap_connection.c Modified: trunk/src/protocols/oscar/flap_connection.c =================================================================== --- trunk/src/protocols/oscar/flap_connection.c 2006-05-04 00:33:33 UTC (rev 16132) +++ trunk/src/protocols/oscar/flap_connection.c 2006-05-04 12:18:03 UTC (rev 16133) @@ -208,7 +208,13 @@ g_free(conn); account = gaim_connection_get_account(od->gc); - if ((od->oscar_connections == NULL) && (!account->disconnecting)) + + /* + * TODO: If we don't have a SNAC_FAMILY_LOCATE connection then + * we should try to request one instead of disconnecting. + */ + if (!account->disconnecting && ((od->oscar_connections == NULL) + || (!flap_connection_getbytype(od, SNAC_FAMILY_LOCATE)))) { /* No more FLAP connections! Sign off this GaimConnection! */ const gchar *tmp; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |