1
0
Fork 0
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:
Charles Kerr 2009-03-23 00:14:41 +00:00
parent 9fceeeae57
commit 087b97cbd2

View file

@ -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 );