diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-21 16:06:31 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-03-21 16:06:31 +0000 |
commit | 767a148faa35c18cdf4da77b5919a2f6e2df868a (patch) | |
tree | 43f981453468759d31d7b215d84d750dbe4876ac /protocols/msn/msn.c | |
parent | 545d7c058d0604dd6acfa37c68e9867e72f25c2e (diff) | |
parent | a81d679654e36055ce9913cd7541885b41380947 (diff) |
Merging in file transfer support. Most important points from my review
are fixed now, time to let it settle in and get people to try it.
Diffstat (limited to 'protocols/msn/msn.c')
-rw-r--r-- | protocols/msn/msn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index 8930847d..3a8b8f7b 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -80,6 +80,10 @@ static void msn_logout( struct im_connection *ic ) if( md ) { + while( md->filetransfers ) { + imcb_file_canceled( md->filetransfers->data, "Closing connection" ); + } + if( md->fd >= 0 ) closesocket( md->fd ); @@ -339,6 +343,7 @@ void msn_initmodule() ret->rem_deny = msn_rem_deny; ret->send_typing = msn_send_typing; ret->handle_cmp = g_strcasecmp; + ret->transfer_request = msn_ftp_transfer_request; register_protocol(ret); } |