Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slpcall.c @ 31293:6814678f3c63
Remove session_id from SlpMsg and use the one from the header.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 21 Jul 2010 19:59:38 +0000 |
parents | 7b1b7a4e0bb4 |
children | 16ab805406d1 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.c Mon Jul 19 21:11:32 2010 +0000 +++ b/libpurple/protocols/msn/slpcall.c Wed Jul 21 19:59:38 2010 +0000 @@ -1066,7 +1066,7 @@ { char *body_str; - if (slpmsg->session_id == 64) + if (slpmsg->header->session_id == 64) { /* This is for handwritten messages (Ink) */ GError *error = NULL; @@ -1127,7 +1127,7 @@ slpmsg->flags == (P2P_WML2009_COMP | P2P_MSN_OBJ_DATA) || slpmsg->flags == P2P_FILE_DATA) { - slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->session_id); + slpcall = msn_slplink_find_slp_call_with_session_id(slplink, slpmsg->header->session_id); if (slpcall != NULL) {