diff --git a/daemon/remote.c b/daemon/remote.c index a54d76688..26c185266 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -1408,9 +1408,7 @@ tr_curl_easy_init( struct evbuffer * writebuf ) curl_easy_setopt( curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY ); curl_easy_setopt( curl, CURLOPT_TIMEOUT, 60L ); curl_easy_setopt( curl, CURLOPT_VERBOSE, debug ); -#ifdef HAVE_ZLIB - curl_easy_setopt( curl, CURLOPT_ENCODING, "deflate" ); -#endif + curl_easy_setopt( curl, CURLOPT_ENCODING, "" ); /* "" tells curl to fill in the blanks with what it was compiled to support */ if( netrc ) curl_easy_setopt( curl, CURLOPT_NETRC_FILE, netrc ); if( auth )