Mercurial > pidgin.yaz
diff libpurple/protocols/msn/sbconn.c @ 31246:07a9356ad2e0
Remove the MsnMessage from SlpMessage.
author | masca@cpw.pidgin.im |
---|---|
date | Sat, 19 Jun 2010 21:48:19 +0000 |
parents | 37474bb06bad |
children | 5904070c0019 |
line wrap: on
line diff
--- a/libpurple/protocols/msn/sbconn.c Thu Jun 17 20:02:30 2010 +0000 +++ b/libpurple/protocols/msn/sbconn.c Sat Jun 19 21:48:19 2010 +0000 @@ -81,11 +81,15 @@ void msn_sbconn_send_part(MsnSlpLink *slplink, MsnSlpMessagePart *part) { MsnMessage *msg; + const char *passport; char *data; size_t size; msg = msn_message_new_msnslp(); + passport = purple_normalize(slplink->session->account, slplink->remote_user); + msn_message_set_header(msg, "P2P-Dest", passport); + data = msn_slpmsgpart_serialize(part, &size); msg->part = part;