Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slpcall.c @ 32021:eb1bbaae3427
Try to hide msn_p2p_info_get_flags as much as possible, since it may
not exist in p2pv2.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 07 May 2011 08:43:31 +0000 |
parents | 34da321b60f1 |
children | 462c19eb31d8 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c Sat May 07 07:49:25 2011 +0000 +++ b/libpurple/protocols/msn/slpcall.c Sat May 07 08:43:31 2011 +0000 @@ -1130,7 +1130,7 @@ } g_free(body_str); } - else if (msn_p2p_msg_is_data(flags)) + else if (msn_p2p_msg_is_data(slpmsg->p2p_info)) { slpcall = msn_slplink_find_slp_call_with_session_id(slplink, session_id); @@ -1147,7 +1147,7 @@ slpcall->wasted = TRUE; } } - else if (flags == P2P_ACK) + else if (msn_p2p_info_is_ack(slpmsg->p2p_info)) { /* Acknowledgement of previous message. Don't do anything currently. */ }