changeset 4528:f8fec48f0fde

[gaim-migrate @ 4806] Should fix a potential infinite recursion bug I just noticed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 05 Feb 2003 08:02:25 +0000
parents 32aa1451744d
children f630a793b9d4
files src/ft.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ft.c	Wed Feb 05 06:17:52 2003 +0000
+++ b/src/ft.c	Wed Feb 05 08:02:25 2003 +0000
@@ -629,6 +629,8 @@
 	if (ui_ops != NULL && ui_ops->cancel != NULL)
 		ui_ops->cancel(xfer);
 
+	xfer->bytes_remaining = 0;
+
 	/* Delete the transfer. */
 	gaim_xfer_destroy(xfer);
 }