Changeset 17a6ee9 for protocols/jabber/s5bytestream.c
- Timestamp:
- 2010-04-11T14:37:06Z (14 years ago)
- Branches:
- master
- Children:
- a87e6ba
- Parents:
- 1f92a58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/s5bytestream.c
r1f92a58 r17a6ee9 566 566 xt_free_node( reply ); 567 567 568 imcb_file_canceled( tf-> ft, "couldn't connect to any streamhosts" );568 imcb_file_canceled( tf->ic, tf->ft, "couldn't connect to any streamhosts" ); 569 569 570 570 bt->tf->watch_in = 0; … … 603 603 604 604 if( !jabber_write_packet( tf->ic, reply ) ) 605 imcb_file_canceled( tf-> ft, "Error transmitting bytestream response" );605 imcb_file_canceled( tf->ic, tf->ft, "Error transmitting bytestream response" ); 606 606 xt_free_node( reply ); 607 607 } … … 643 643 644 644 if( tf->bytesread >= tf->ft->file_size ) 645 imcb_file_finished( tf-> ft );645 imcb_file_finished( tf->ic, tf->ft ); 646 646 647 647 tf->ft->write( tf->ft, tf->ft->buffer, ret ); … … 659 659 if( tf->watch_in ) 660 660 { 661 imcb_file_canceled( ft, "BUG in jabber file transfer: write_request called when already watching for input" );661 imcb_file_canceled( tf->ic, ft, "BUG in jabber file transfer: write_request called when already watching for input" ); 662 662 return FALSE; 663 663 } … … 705 705 706 706 if( tf->byteswritten >= ft->file_size ) 707 imcb_file_finished( ft );707 imcb_file_finished( tf->ic, ft ); 708 708 else 709 709 bt->tf->watch_out = b_input_add( tf->fd, GAIM_INPUT_WRITE, jabber_bs_send_can_write, bt ); … … 1005 1005 1006 1006 if( !jabber_write_packet( tf->ic, iq ) ) 1007 imcb_file_canceled( tf-> ft, "Error transmitting bytestream request" );1007 imcb_file_canceled( tf->ic, tf->ft, "Error transmitting bytestream request" ); 1008 1008 return TRUE; 1009 1009 } … … 1020 1020 1021 1021 if( jd->streamhosts==NULL ) /* we're done here unless we have a proxy to try */ 1022 imcb_file_canceled( tf-> ft, error );1022 imcb_file_canceled( tf->ic, tf->ft, error ); 1023 1023 1024 1024 /* MUST always return FALSE! */
Note: See TracChangeset
for help on using the changeset viewer.