Mercurial > pidgin
diff libpurple/protocols/msn/slpmsg_part.c @ 30870:d9ca3798faa5
Get rid of the Flags field in the SlpMessage in favor of the one in the Header.
author | masca@cpw.pidgin.im |
---|---|
date | Fri, 06 Aug 2010 00:07:39 +0000 |
parents | 320c6eb04e11 |
children | 4b1eecab50e8 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpmsg_part.c Thu Aug 05 23:58:21 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg_part.c Fri Aug 06 00:07:39 2010 +0000 @@ -165,7 +165,7 @@ slpmsg = data; - real_size = (slpmsg->flags == P2P_ACK) ? 0 : slpmsg->size; + real_size = (slpmsg->header->flags == P2P_ACK) ? 0 : slpmsg->size; slpmsg->header->offset += part->header->length; @@ -184,7 +184,7 @@ else { /* The whole message has been sent */ - if (msn_p2p_msg_is_data(slpmsg->flags)) + if (msn_p2p_msg_is_data(slpmsg->header->flags)) { if (slpmsg->slpcall != NULL) {