comparison src/protocols/msn/slplink.c @ 9715:b030f83693da

[gaim-migrate @ 10576] Remotely canceled file transfers in MSN are now noticed, so that we don't accidentally cancel the file transfer and crash Gaim. Patch by Felipe Contreras. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 08 Aug 2004 08:17:38 +0000
parents b3711e089751
children 1e9ecca6c97e
comparison
equal deleted inserted replaced
9714:2273790bb518 9715:b030f83693da
629 629
630 slpcall = msn_slp_call_new(slplink); 630 slpcall = msn_slp_call_new(slplink);
631 msn_slp_call_init(slpcall, MSN_SLPCALL_DC); 631 msn_slp_call_init(slpcall, MSN_SLPCALL_DC);
632 632
633 slpcall->session_init_cb = send_file_cb; 633 slpcall->session_init_cb = send_file_cb;
634 slpcall->end_cb = msn_xfer_end_cb;
634 slpcall->progress_cb = msn_xfer_progress_cb; 635 slpcall->progress_cb = msn_xfer_progress_cb;
635 slpcall->cb = msn_xfer_completed_cb; 636 slpcall->cb = msn_xfer_completed_cb;
636 slpcall->xfer = xfer; 637 slpcall->xfer = xfer;
637 638
638 gaim_xfer_set_cancel_send_fnc(xfer, msn_xfer_cancel); 639 gaim_xfer_set_cancel_send_fnc(xfer, msn_xfer_cancel);