Changeset 5366


Ignore:
Timestamp:
Mar 24, 2008, 7:29:25 PM (15 years ago)
Author:
charles
Message:

rename tr_httpParseUrl() -> tr_httpParseURL()

Location:
trunk/libtransmission
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/makemeta.c

    r5358 r5366  
    381381    val = tr_bencDictAdd( &top, "announce" );
    382382    tr_bencInitStrDup( val, builder->announce );
    383     if( tr_httpParseUrl( builder->announce, -1, NULL, NULL, NULL ) )
     383    if( tr_httpParseURL( builder->announce, -1, NULL, NULL, NULL ) )
    384384    {
    385385        builder->result = TR_MAKEMETA_URL;
  • trunk/libtransmission/metainfo.c

    r5356 r5366  
    478478            ++pch;
    479479
    480         if( tr_httpParseUrl( pch, -1, &address, &port, &announce ) )
     480        if( tr_httpParseURL( pch, -1, &address, &port, &announce ) )
    481481        {
    482482            tr_err( _( "Invalid announce URL \"%s\"" ), val->val.s.s );
     
    551551                    int                address_len )
    552552{
    553     int ret = tr_httpParseUrl( address, address_len,
     553    int ret = tr_httpParseURL( address, address_len,
    554554                               &info->address,
    555555                               &info->port,
  • trunk/libtransmission/utils.c

    r5356 r5366  
    982982
    983983int
    984 tr_httpParseUrl( const char * url_in, int len,
     984tr_httpParseURL( const char * url_in, int len,
    985985                 char ** setme_host,
    986986                 int * setme_port,
  • trunk/libtransmission/utils.h

    r5356 r5366  
    164164
    165165
    166 int tr_httpParseUrl( const char * url,
     166int tr_httpParseURL( const char * url,
    167167                     int          url_len,
    168168                     char     ** setme_host,
Note: See TracChangeset for help on using the changeset viewer.