Mercurial > pidgin
diff src/protocols/simple/sipmsg.c @ 11820:2cf6d4cf2cb0
[gaim-migrate @ 14111]
Death to // comments. Excluding win32, where it doesn't matter, this should be it except for crazychat and bonjour.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Tue, 25 Oct 2005 20:50:21 +0000 |
| parents | 0d18fa6c3b41 |
| children | 33ed71b35a43 |
line wrap: on
line diff
--- a/src/protocols/simple/sipmsg.c Tue Oct 25 19:18:44 2005 +0000 +++ b/src/protocols/simple/sipmsg.c Tue Oct 25 20:50:21 2005 +0000 @@ -62,10 +62,10 @@ g_free(msg); return NULL; } - if(strstr(parts[0],"SIP")) { // numeric response + if(strstr(parts[0],"SIP")) { /* numeric response */ msg->method = g_strdup(parts[2]); msg->response = strtol(parts[1],NULL,10); - } else { // request + } else { /* request */ msg->method = g_strdup(parts[0]); msg->target = g_strdup(parts[1]); msg->response = 0; @@ -99,7 +99,7 @@ if(msg->response) { tmp = sipmsg_find_header(msg, "CSeq"); if(!tmp) { - // SHOULD NOT HAPPEN + /* SHOULD NOT HAPPEN */ msg->method = 0; } else { parts = g_strsplit(tmp, " ", 2);
