# HG changeset patch # User Elliott Sales de Andrade # Date 1243220772 0 # Node ID 7e6c8fed6ffa832d64c6d8fe404e7cb71230ab79 # Parent 131e41a24d953cabc966c9d3a584546edb49fe64 Treat FQY responses with no network ID as on the Passport network. Fixes #9240. diff -r 131e41a24d95 -r 7e6c8fed6ffa libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Mon May 25 00:32:55 2009 +0000 +++ b/libpurple/protocols/msn/notification.c Mon May 25 03:06:12 2009 +0000 @@ -919,10 +919,10 @@ passport = g_strdup_printf("%s@%s", local, domain); - if (!g_ascii_isdigit(cmd->command[0]) && type != NULL) + if (g_ascii_isdigit(cmd->command[0])) + network = MSN_NETWORK_UNKNOWN; + else if (type != NULL) network = (MsnNetwork)strtoul(type, NULL, 10); - else - network = MSN_NETWORK_UNKNOWN; purple_debug_info("msn", "FQY response says %s is from network %d\n", passport, network);