changeset 31142:dcd407e6c004

Save some memory. These fields aren't actually used for anything.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 11 Jan 2011 04:46:53 +0000
parents 5373d3df9072
children 3b8e763fb133
files libpurple/protocols/msn/msg.h libpurple/protocols/msn/sbconn.c libpurple/protocols/msn/slpmsg.c libpurple/protocols/msn/slpmsg.h
diffstat 4 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msg.h	Mon Jan 10 16:42:38 2011 +0000
+++ b/libpurple/protocols/msn/msg.h	Tue Jan 11 04:46:53 2011 +0000
@@ -79,7 +79,6 @@
 	MsnMsgType type;
 
 	gboolean msnslp_message;
-	MsnSlpMessage *slpmsg;
 	MsnSlpMessagePart *part;
 
 	char *remote_user;
@@ -99,7 +98,6 @@
 								  been ref'ed for using it in a callback. */
 
 	MsnCommand *cmd;
-	MsnTransaction *trans;
 
 	MsnMsgCb ack_cb; /**< The callback to call when we receive an ACK of this
 					   message. */
@@ -107,8 +105,6 @@
 					   message. */
 	void *ack_data; /**< The data used by callbacks. */
 
-	MsnMsgErrorType error; /**< The error of the message. */
-
 	guint32 retries;
 };
 
--- a/libpurple/protocols/msn/sbconn.c	Mon Jan 10 16:42:38 2011 +0000
+++ b/libpurple/protocols/msn/sbconn.c	Tue Jan 11 04:46:53 2011 +0000
@@ -126,8 +126,6 @@
 	trans->payload = payload;
 	trans->payload_len = payload_len;
 
-	msg->trans = trans;
-
 	msn_cmdproc_send_trans(cmdproc, trans);
 }
 
--- a/libpurple/protocols/msn/slpmsg.c	Mon Jan 10 16:42:38 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Tue Jan 11 04:46:53 2011 +0000
@@ -193,7 +193,6 @@
 	slpmsg = msn_slpmsg_new(slplink);
 	msn_slpmsg_set_body(slpmsg, body, body_len);
 
-	slpmsg->sip = TRUE;
 	slpmsg->slpcall = slpcall;
 
 	g_free(body);
--- a/libpurple/protocols/msn/slpmsg.h	Mon Jan 10 16:42:38 2011 +0000
+++ b/libpurple/protocols/msn/slpmsg.h	Tue Jan 11 04:46:53 2011 +0000
@@ -50,8 +50,6 @@
 
 	long id;
 
-	gboolean sip; /**< A flag that states if this is a SIP slp message. */
-
 	gboolean ft;
 	PurpleStoredImage *img;
 	guchar *buffer;