changeset 10259:1aa83016fbe0

[gaim-migrate @ 11402] This fixes a bug where canceling a ft in it's init() could crash, especially with yahoo and dnd. Committing to HEAD. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Wed, 24 Nov 2004 18:53:18 +0000
parents 357d4fa1bfbe
children a2bbfdcc325d
files src/ft.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ft.c	Wed Nov 24 06:39:47 2004 +0000
+++ b/src/ft.c	Wed Nov 24 18:53:18 2004 +0000
@@ -384,8 +384,9 @@
 		gaim_xfer_set_local_filename(xfer, filename);
 	}
 
+	gaim_xfer_add(xfer);
 	xfer->ops.init(xfer);
-	gaim_xfer_add(xfer);
+
 }
 
 void