diff src/gtkft.c @ 4656:e557a10a9541

[gaim-migrate @ 4967] This works pretty reliably between gaim and Winaim. It seems to work ok between 2 gaim clients. Anyway, I figure this is better than nothing. Oh, by the way, this is "send file" support for AIM over oscar. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 07 Mar 2003 03:49:48 +0000
parents 440d3d870b84
children 260678c4aeb3
line wrap: on
line diff
--- a/src/gtkft.c	Thu Mar 06 17:27:17 2003 +0000
+++ b/src/gtkft.c	Fri Mar 07 03:49:48 2003 +0000
@@ -858,7 +858,8 @@
 	if (dialog == NULL || xfer == NULL)
 		return;
 
-	data = GAIM_GTKXFER(xfer);
+	if (!(data = GAIM_GTKXFER(xfer)))
+		return;
 
 	size_str      = get_size_string(gaim_xfer_get_size(xfer));
 	remaining_str = get_size_string(gaim_xfer_get_bytes_remaining(xfer));