Mercurial > pidgin
diff libpurple/protocols/msn/cmdproc.c @ 30694: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 | 28485b9ea656 |
children | d827357c6ce9 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/cmdproc.c Sat Feb 06 05:26:27 2010 +0000 +++ b/libpurple/protocols/msn/cmdproc.c Mon Feb 08 07:41:15 2010 +0000 @@ -246,8 +246,8 @@ const char *messageId = NULL; /* Multi-part messages */ - if ((messageId = msn_message_get_attr(msg, "Message-ID")) != NULL) { - const char *chunk_text = msn_message_get_attr(msg, "Chunks"); + if ((messageId = msn_message_get_header_value(msg, "Message-ID")) != NULL) { + const char *chunk_text = msn_message_get_header_value(msg, "Chunks"); guint chunk; if (chunk_text != NULL) { chunk = strtol(chunk_text, NULL, 10); @@ -266,7 +266,7 @@ } return; } else { - chunk_text = msn_message_get_attr(msg, "Chunk"); + chunk_text = msn_message_get_header_value(msg, "Chunk"); if (chunk_text != NULL) { MsnMessage *first = g_hash_table_lookup(cmdproc->multiparts, messageId); chunk = strtol(chunk_text, NULL, 10);