changeset 9218:08e7ccb4610d

[gaim-migrate @ 10014] (13:27:46) nosnilmot: someone apply this before we have another gcc 2.x broken release : http://www.nosnilmot.com/patches/gaim-0.79cvs-msn-c99isms.patch (13:28:02) LSchiere: because we are so close to releaseing ;-) (13:28:19) nosnilmot: LSchiere: yeah, 15 minutes right? ;-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 06 Jun 2004 17:28:52 +0000
parents 6e9e9e7b8e1e
children ec2a51abcc71
files src/protocols/msn/switchboard.c src/protocols/msn/transaction.c src/protocols/msn/userlist.c
diffstat 3 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Sun Jun 06 17:18:27 2004 +0000
+++ b/src/protocols/msn/switchboard.c	Sun Jun 06 17:28:52 2004 +0000
@@ -824,9 +824,9 @@
 got_swboard(MsnCmdProc *cmdproc, MsnCommand *cmd)
 {
 	MsnSwitchBoard *swboard;
-	swboard = cmd->trans->data;
 	char *host;
 	int port;
+	swboard = cmd->trans->data;
 
 	msn_switchboard_set_auth_key(swboard, cmd->params[4]);
 
--- a/src/protocols/msn/transaction.c	Sun Jun 06 17:18:27 2004 +0000
+++ b/src/protocols/msn/transaction.c	Sun Jun 06 17:28:52 2004 +0000
@@ -102,8 +102,11 @@
 void
 msn_transaction_unqueue_cmd(MsnTransaction *trans, MsnCmdProc *cmdproc)
 {
+	MsnCommand *cmd;
+
 	gaim_debug_info("msn", "unqueueing command.\n");
-	MsnCommand *cmd = trans->pendent_cmd;
+	cmd = trans->pendent_cmd;
+
 	g_return_if_fail(cmd != NULL);
 
 	msn_cmdproc_process_cmd(cmdproc, cmd);
--- a/src/protocols/msn/userlist.c	Sun Jun 06 17:18:27 2004 +0000
+++ b/src/protocols/msn/userlist.c	Sun Jun 06 17:28:52 2004 +0000
@@ -163,9 +163,10 @@
 {
 	MsnCmdProc *cmdproc;
 	MsnTransaction *trans;
+	MsnMoveBuddy *data;
 
 	cmdproc = userlist->session->notification->cmdproc;
-	MsnMoveBuddy *data = g_new0(MsnMoveBuddy, 1);
+	data = g_new0(MsnMoveBuddy, 1);
 
 	data->who = g_strdup(who);