[gaim-migrate @ 4806]

Wed, 05 Feb 2003 08:02:25 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Wed, 05 Feb 2003 08:02:25 +0000
changeset 4528
5efe7af8195d
parent 4527
def088c043e3
child 4529
7e59b197d10d

[gaim-migrate @ 4806]
Should fix a potential infinite recursion bug I just noticed.

src/ft.c file | annotate | diff | comparison | revisions
--- 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);
 }

mercurial