Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slp.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 | 3a43e48c870e |
children | c5a7516418c7 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c Sat Feb 06 05:26:27 2010 +0000 +++ b/libpurple/protocols/msn/slp.c Mon Feb 08 07:41:15 2010 +0000 @@ -740,6 +740,7 @@ if (!strncmp(body, "INVITE", strlen("INVITE"))) { + /* This is an INVITE request */ char *branch; char *content; char *content_type; @@ -783,6 +784,7 @@ } else if (!strncmp(body, "MSNSLP/1.0 ", strlen("MSNSLP/1.0 "))) { + /* This is a response */ char *content; char *content_type; /* Make sure this is "OK" */ @@ -832,6 +834,7 @@ } else if (!strncmp(body, "BYE", strlen("BYE"))) { + /* This is a BYE request */ char *call_id; call_id = get_token(body, "Call-ID: {", "}");