# HG changeset patch # User Paul Aurich # Date 1266557160 0 # Node ID fa8a25b46252ed353941fe9ba63894d73ca37606 # Parent dfb7522f2a92f213c8a16a7a35043bc4b90eb8df 401/1014 is a bad signature (it's what I've been getting while testing startOSCARSession over https). This is also the error that Ubuntu/Debian/anyone who applied the hacky patch to fix clientLogin+SSL will be getting, so we really shouldn't print out the connecting/disconnecting too frequently error. diff -r dfb7522f2a92 -r fa8a25b46252 libpurple/protocols/oscar/clientlogin.c --- a/libpurple/protocols/oscar/clientlogin.c Fri Feb 19 03:10:31 2010 +0000 +++ b/libpurple/protocols/oscar/clientlogin.c Fri Feb 19 05:26:00 2010 +0000 @@ -177,10 +177,23 @@ code = atoi(tmp); if (code != 200) { + xmlnode *status_detail_node; + guint status_detail = 0; + + status_detail_node = xmlnode_get_child(response_node, + "statusDetailCode"); + if (status_detail_node) { + gchar *data = xmlnode_get_data(status_detail_node); + if (data) { + status_detail = atoi(data); + g_free(data); + } + } + purple_debug_error("oscar", "startOSCARSession response statusCode " "was %s: %s\n", tmp, response); - if (code == 401 || code == 607) + if ((code == 401 && status_detail != 1014) || code == 607) purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, _("You have been connecting and disconnecting too "