(trunk libT) repeat the r12129 fix for delegating https scrapes

This commit is contained in:
Jordan Lee 2011-03-11 13:04:09 +00:00
parent 799facb919
commit a3cfc11268
1 changed files with 2 additions and 2 deletions

View File

@ -1214,10 +1214,10 @@ scrape_request_delegate( tr_announcer * announcer,
{
tr_session * session = announcer->session;
if( strstr( request->url, "http://" ) )
if( !memcmp( request->url, "http", 4 ) )
tr_tracker_http_scrape( session, request, callback, callback_data );
else
fprintf( stderr, "can't handle [%s] yet\n", request->url );
abort();//fprintf( stderr, "can't handle [%s] yet\n", request->url );
}
static void