libpurple/protocols/msn/msg.c

changeset 28145
95c36b80165a
parent 27828
d08692294a8f
child 28146
796c252c735e
--- 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);
 }

mercurial