# HG changeset patch # User Elliott Sales de Andrade # Date 1249802941 0 # Node ID 2f7386e1c5d1d36f8a518aba0964b646b37933ac # Parent 58c8d6fc3aaf9dc9a332606d926b65ec0f89b9fe Print name of application in the invite to the debug log if it's available. diff -r 58c8d6fc3aaf -r 2f7386e1c5d1 libpurple/protocols/msn/msg.c --- a/libpurple/protocols/msn/msg.c Sun Aug 09 05:17:11 2009 +0000 +++ b/libpurple/protocols/msn/msg.c Sun Aug 09 07:29:01 2009 +0000 @@ -1154,9 +1154,11 @@ g_free(buf); } } - } else - purple_debug_warning("msn", - "Unhandled invite msg with GUID %s.\n", guid); + } else { + const gchar *application = g_hash_table_lookup(body, "Application-Name"); + purple_debug_warning("msn", "Unhandled invite msg with GUID %s: %s.\n", + guid, application ? application : "(null)"); + } g_hash_table_destroy(body); }