Mercurial > pidgin.yaz
changeset 31263:91ba047e838c
Remove msgs list from SlpMessage.
author | masca@cpw.pidgin.im |
---|---|
date | Tue, 22 Jun 2010 23:00:10 +0000 |
parents | a743c25b27a8 |
children | f4c86572e745 |
files | libpurple/protocols/msn/sbconn.c libpurple/protocols/msn/slpmsg.c libpurple/protocols/msn/slpmsg.h |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/sbconn.c Tue Jun 22 22:54:17 2010 +0000 +++ b/libpurple/protocols/msn/sbconn.c Tue Jun 22 23:00:10 2010 +0000 @@ -4,6 +4,7 @@ #include "msg.h" #include "sbconn.h" +#if 0 /* We have received the message ack */ void msn_sbconn_msg_ack(MsnMessage *msg, void *data) @@ -62,6 +63,7 @@ slpmsg->msgs = g_list_remove(slpmsg->msgs, msg); msn_message_unref(msg); } +#endif void msn_sbconn_send_msg(MsnSlpLink *slplink, MsnMessage *msg) {
--- a/libpurple/protocols/msn/slpmsg.c Tue Jun 22 22:54:17 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg.c Tue Jun 22 23:00:10 2010 +0000 @@ -109,6 +109,7 @@ if (slpmsg->img == NULL) g_free(slpmsg->buffer); +#if 0 for (cur = slpmsg->msgs; cur != NULL; cur = g_list_delete_link(cur, cur)) { /* Something is pointing to this slpmsg, so we should remove that @@ -124,6 +125,7 @@ } slplink->slp_msgs = g_list_remove(slplink->slp_msgs, slpmsg); +#endif for (cur = slpmsg->parts; cur != NULL; cur = g_list_delete_link(cur, cur)) {
--- a/libpurple/protocols/msn/slpmsg.h Tue Jun 22 22:54:17 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg.h Tue Jun 22 23:00:10 2010 +0000 @@ -74,10 +74,10 @@ */ long long size; - GList *msgs; /**< The real messages. */ GList *parts; /**< A list with the SlpMsgParts */ #if 0 + GList *msgs; /**< The real messages. */ MsnMessage *msg; /**< The temporary real message that will be sent. */ #endif