Changeset 10239 for trunk/libtransmission/web.c
- Timestamp:
- Feb 20, 2010, 3:57:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/web.c
r10235 r10239 208 208 dns_cache_set_fail( struct tr_web_task * task, const char * host ) 209 209 { 210 if( task->session->web != NULL)210 if( ( task->session->web != NULL ) && ( host != NULL ) ) 211 211 { 212 212 struct dns_cache_item * item; … … 464 464 assert( task->resolved_host == NULL ); 465 465 466 if( !tr_ httpParseURL( task->url, -1, &host, &port, NULL ) )466 if( !tr_urlParse( task->url, -1, NULL, &host, &port, NULL ) ) 467 467 { 468 468 task->port = port;
Note: See TracChangeset
for help on using the changeset viewer.