(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
1 changed files with 2 additions and 1 deletions

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