Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slpmsg.c @ 31305:6b73ff4fcc69
Get rid of the ack_size field in the SlpMessage in favor of the one in the Header. And do nothing if the released SlpMessage is an ACK or a 100 (DC Handshake).
author | masca@cpw.pidgin.im |
---|---|
date | Thu, 05 Aug 2010 23:16:49 +0000 |
parents | b682664bae30 |
children | d9ca3798faa5 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg.c Thu Aug 05 23:09:12 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg.c Thu Aug 05 23:16:49 2010 +0000 @@ -247,7 +247,7 @@ slpmsg->flags = P2P_ACK; slpmsg->header->ack_id = header->id; slpmsg->header->ack_sub_id = header->ack_id; - slpmsg->ack_size = header->total_size; + slpmsg->header->ack_size = header->total_size; slpmsg->info = "SLP ACK"; return slpmsg;