diff libpurple/protocols/msn/switchboard.c @ 31132:33b4ae796648

Rename "attribute" to "header" in a bunch of places. The SLP protocol is fashioned after HTTP. Well, more accurately after SIP. And these are generally referred to as headers pretty much everywhere.
author Mark Doliner <mark@kingant.net>
date Mon, 08 Feb 2010 07:41:15 +0000
parents 1830fa548302
children f7ee91763c6b
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c	Sat Feb 06 05:26:27 2010 +0000
+++ b/libpurple/protocols/msn/switchboard.c	Mon Feb 08 07:41:15 2010 +0000
@@ -511,7 +511,7 @@
 		body_enc = g_markup_escape_text(body_str, -1);
 		g_free(body_str);
 
-		format = msn_message_get_attr(msg, "X-MMS-IM-Format");
+		format = msn_message_get_header_value(msg, "X-MMS-IM-Format");
 		msn_parse_format(format, &pre, &post);
 		body_str = g_strdup_printf("%s%s%s", pre ? pre : "",
 								   body_enc ? body_enc : "", post ? post : "");