Ignore:
Timestamp:
Apr 13, 2013, 8:25:28 PM (9 years ago)
Author:
jordan
Message:

(trunk) update web.h's API s.t. there's an explicit function to use when downloading webseed content.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpcimpl.c

    r14009 r14070  
    14011401    const int port = tr_sessionGetPeerPort (session);
    14021402    char * url = tr_strdup_printf ("http://portcheck.transmissionbt.com/%d", port);
    1403     tr_webRun (session, url, NULL, NULL, portTested, idle_data);
     1403    tr_webRun (session, url, portTested, idle_data);
    14041404    tr_free (url);
    14051405    return NULL;
     
    15011501static const char*
    15021502blocklistUpdate (tr_session               * session,
    1503                  tr_variant                  * args_in UNUSED,
    1504                  tr_variant                  * args_out UNUSED,
     1503                 tr_variant               * args_in UNUSED,
     1504                 tr_variant               * args_out UNUSED,
    15051505                 struct tr_rpc_idle_data  * idle_data)
    15061506{
    1507     tr_webRun (session, session->blocklist_url, NULL, NULL, gotNewBlocklist, idle_data);
     1507    tr_webRun (session, session->blocklist_url, gotNewBlocklist, idle_data);
    15081508    return NULL;
    15091509}
     
    16901690            d->data = idle_data;
    16911691            d->ctor = ctor;
    1692             tr_webRun (session, filename, NULL, cookies, gotMetadataFromURL, d);
     1692            tr_webRunWithCookies (session, filename, cookies, gotMetadataFromURL, d);
    16931693        }
    16941694        else
Note: See TracChangeset for help on using the changeset viewer.