Only block GZ/BZ2 if no zlib and bzlib are present

This commit is contained in:
Michiel Broek 2005-08-25 21:11:40 +00:00
parent a015b54885
commit 931819b87b
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,10 @@ v0.71.5 18-Aug-2005
nodelist.a:
Clear node Hold or Down status if set in nodes setup.
mbcico:
Only disallow GZ/BZ2 compression by default if both zlib and
bzlib are not present.
mbfido:
Removed debug logging for solved crash.
Code cleanup.

View File

@ -95,10 +95,9 @@ void rdoptions(int Loaded)
#ifndef HAVE_ZLIB_H
localoptions |= NOPLZ;
localoptions |= NOGZBZ2;
#endif
#ifndef HAVE_BZLIB_H
localoptions |= NOGZBZ2;
#endif
#endif
if (nodes.Aka[0].zone == 0) {