HTTrack Website Copier
Free software offline browser - FORUM
Subject: HTS_USEZLIB
Author: johng
Date: 10/21/2001 00:43
 
Hi Xavier,

I noticed in 3.08 there is a new #define for 
enabling/disabling using the zlib to handle compressed 
pages. In the 'lib' dir for the API example, you have 

#define HTS_USEZLIB 0

I suppose to turn this off by default.

However, when you test the define, you use
#ifdef HTS_USEZLIB
rather than
#if HTS_USEZLIB
so the test is always true whether HTS_USEZLIB is set 
to 0 or to 1.

Was this on purpose or should the 
#ifdef HTS_USEZLIB
be changed to
#if HTS_USEZLIB
???
Note, you can't just #undef or not define HTS_USEZLIB 
because if it isn't defined you define it htsglobal.h

thanks,
john
 
Reply


All articles

Subject Author Date
HTS_USEZLIB

10/21/2001 00:43
Re: HTS_USEZLIB

10/21/2001 10:04




5

Created with FORUM 2.0.11