changeset 3619:a19850d6e718

[gaim-migrate @ 3733] Oh ho ho!!! committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 09 Oct 2002 06:28:55 +0000
parents 6b12659dfd70
children 8856bb4b284e
files src/protocols/irc/irc.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Wed Oct 09 06:25:46 2002 +0000
+++ b/src/protocols/irc/irc.c	Wed Oct 09 06:28:55 2002 +0000
@@ -1438,6 +1438,9 @@
 	if (idata->rxqueue)
 		g_free(idata->rxqueue);
 
+	idata->rxqueue = NULL;
+	idata->rxlen = 0;
+
 	/* Kill any existing transfers */
 	while (idata->file_transfers) {
 			struct irc_file_transfer *ift = (struct irc_file_transfer *)idata->file_transfers->data;
@@ -1450,9 +1453,8 @@
 
 			idata->file_transfers = idata->file_transfers->next;
 	}
+	idata->file_transfers = NULL;
 
-	idata->rxqueue = NULL;
-	idata->rxlen = 0;
 
 	g_free(idata->chantypes);
 	g_free(idata->chanmodes);