mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(daemon) fix incorrect #ifdef to get zlib compression working on rpc requests
This commit is contained in:
parent
9fceeeae57
commit
087b97cbd2
1 changed files with 2 additions and 1 deletions
|
@ -1281,7 +1281,8 @@ processRequests( const char * host,
|
|||
|
||||
curl = curl_easy_init( );
|
||||
curl_easy_setopt( curl, CURLOPT_VERBOSE, debug );
|
||||
#ifdef HAVE_LIBZ
|
||||
#ifdef HAVE_ZLIB
|
||||
fprintf( stderr, "asdfasdfasdf\n" );
|
||||
curl_easy_setopt( curl, CURLOPT_ENCODING, "deflate" );
|
||||
#endif
|
||||
curl_easy_setopt( curl, CURLOPT_USERAGENT, MY_NAME "/" LONG_VERSION_STRING );
|
||||
|
|
Loading…
Reference in a new issue