comparison src/ft.c @ 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 dda0fbba1c46
children 009e206f260c
comparison
equal deleted inserted replaced
4527:32aa1451744d 4528:f8fec48f0fde
627 ui_ops = gaim_xfer_get_ui_ops(xfer); 627 ui_ops = gaim_xfer_get_ui_ops(xfer);
628 628
629 if (ui_ops != NULL && ui_ops->cancel != NULL) 629 if (ui_ops != NULL && ui_ops->cancel != NULL)
630 ui_ops->cancel(xfer); 630 ui_ops->cancel(xfer);
631 631
632 xfer->bytes_remaining = 0;
633
632 /* Delete the transfer. */ 634 /* Delete the transfer. */
633 gaim_xfer_destroy(xfer); 635 gaim_xfer_destroy(xfer);
634 } 636 }
635 637
636 void 638 void