Changeset 6635


Ignore:
Timestamp:
Aug 22, 2008, 7:14:19 PM (13 years ago)
Author:
charles
Message:

(libT) add an environmental variable to enable libcurl verbosity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r6447 r6635  
    182182        curl_easy_setopt( ch, CURLOPT_MAXREDIRS, 5 );
    183183        curl_easy_setopt( ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
     184        curl_easy_setopt( ch, CURLOPT_VERBOSE, getenv( "TR_CURL_VERBOSE" ) != NULL );
    184185        if( task->range )
    185186            curl_easy_setopt( ch, CURLOPT_RANGE, task->range );
Note: See TracChangeset for help on using the changeset viewer.