From: Christian H. <ch...@us...> - 2004-08-08 08:17:47
|
Update of /cvsroot/gaim/gaim/src/protocols/msn In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7909/src/protocols/msn Modified Files: slp.h slplink.c Log Message: 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. Index: slp.h =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/slp.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- slp.h 10 Jun 2004 20:57:52 -0000 1.3 +++ slp.h 8 Aug 2004 08:17:38 -0000 1.4 @@ -43,5 +43,6 @@ void msn_xfer_completed_cb(MsnSlpCall *s const char *body, long long size); void msn_xfer_cancel(GaimXfer *xfer); +void msn_xfer_end_cb(MsnSlpCall *slpcall); #endif /* _MSN_SLP_H_ */ Index: slplink.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/msn/slplink.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -p -r1.9 -r1.10 --- slplink.c 22 Jul 2004 03:16:39 -0000 1.9 +++ slplink.c 8 Aug 2004 08:17:38 -0000 1.10 @@ -631,6 +631,7 @@ msn_slplink_request_ft(MsnSlpLink *slpli msn_slp_call_init(slpcall, MSN_SLPCALL_DC); slpcall->session_init_cb = send_file_cb; + slpcall->end_cb = msn_xfer_end_cb; slpcall->progress_cb = msn_xfer_progress_cb; slpcall->cb = msn_xfer_completed_cb; slpcall->xfer = xfer; |