Changeset 5366
- Timestamp:
- Mar 24, 2008, 7:29:25 PM (15 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/makemeta.c
r5358 r5366 381 381 val = tr_bencDictAdd( &top, "announce" ); 382 382 tr_bencInitStrDup( val, builder->announce ); 383 if( tr_httpParseU rl( builder->announce, -1, NULL, NULL, NULL ) )383 if( tr_httpParseURL( builder->announce, -1, NULL, NULL, NULL ) ) 384 384 { 385 385 builder->result = TR_MAKEMETA_URL; -
trunk/libtransmission/metainfo.c
r5356 r5366 478 478 ++pch; 479 479 480 if( tr_httpParseU rl( pch, -1, &address, &port, &announce ) )480 if( tr_httpParseURL( pch, -1, &address, &port, &announce ) ) 481 481 { 482 482 tr_err( _( "Invalid announce URL \"%s\"" ), val->val.s.s ); … … 551 551 int address_len ) 552 552 { 553 int ret = tr_httpParseU rl( address, address_len,553 int ret = tr_httpParseURL( address, address_len, 554 554 &info->address, 555 555 &info->port, -
trunk/libtransmission/utils.c
r5356 r5366 982 982 983 983 int 984 tr_httpParseU rl( const char * url_in, int len,984 tr_httpParseURL( const char * url_in, int len, 985 985 char ** setme_host, 986 986 int * setme_port, -
trunk/libtransmission/utils.h
r5356 r5366 164 164 165 165 166 int tr_httpParseU rl( const char * url,166 int tr_httpParseURL( const char * url, 167 167 int url_len, 168 168 char ** setme_host,
Note: See TracChangeset
for help on using the changeset viewer.