Ignore:
Timestamp:
2007-12-18T02:07:59Z (14 years ago)
Author:
kenobi <kenobi@…>
Branches:
master
Children:
eded1f7
Parents:
8076ec0
Message:

sending via proxy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/si.c

    r8076ec0 rdc0ba9c  
    8383        struct jabber_transfer *tf;
    8484        struct jabber_data *jd = ic->proto_data;
     85        char *server  = jd->server;
    8586
    8687        imcb_log( ic, "Trying to send %s(%zd bytes) to %s", ft->file_name, ft->file_size, who );
     
    9798        jd->filetransfers = g_slist_prepend( jd->filetransfers, tf );
    9899
     100        /* query the buddy's features */
     101        jabber_iq_query_features( ic, who );
     102
     103        /* query proxies from the server */
     104        if( !jd->have_streamhosts )
     105                jabber_iq_query_server( ic, server, XMLNS_DISCO_ITEMS );
     106
     107        /* send the request to our buddy */
    99108        jabber_si_send_request( ic, who, tf );
    100109
     110        /* and start the receive logic */
    101111        imcb_file_recv_start( ft );
    102112}
Note: See TracChangeset for help on using the changeset viewer.