diff libpurple/protocols/msn/transaction.c @ 31154:c316749944c1

I don't really like this name.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 13 Mar 2010 08:18:25 +0000
parents 54c8aeecab4c
children a99b6dcdb60d
line wrap: on
line diff
--- a/libpurple/protocols/msn/transaction.c	Sat Mar 13 08:09:32 2010 +0000
+++ b/libpurple/protocols/msn/transaction.c	Sat Mar 13 08:18:25 2010 +0000
@@ -37,7 +37,7 @@
 
 	trans->cmdproc = cmdproc;
 	trans->command = g_strdup(command);
-	trans->send_trId = TRUE;
+	trans->saveable = TRUE;
 
 	if (format != NULL)
 	{
@@ -97,7 +97,7 @@
 
 	if (trans->params != NULL)
 		str = g_strdup_printf("%s %u %s\r\n", trans->command, trans->trId, trans->params);
-	else if (trans->send_trId)
+	else if (trans->saveable)
 		str = g_strdup_printf("%s %u\r\n", trans->command, trans->trId);
 	else
 		str = g_strdup_printf("%s\r\n", trans->command);
@@ -178,11 +178,11 @@
 }
 
 void
-msn_transaction_set_send_trId(MsnTransaction  *trans, gboolean send)
+msn_transaction_set_saveable(MsnTransaction  *trans, gboolean saveable)
 {
 	g_return_if_fail(trans != NULL);
 
-	trans->send_trId = send;
+	trans->saveable = saveable;
 }
 
 void