Fixed hydra compiling without zlib support

This commit is contained in:
Michiel Broek 2003-11-04 20:12:10 +00:00
parent 865ba8efee
commit 42cfa8fd28

View File

@ -576,7 +576,9 @@ int hydra_batch(int role, file_list *to_send)
rxlastsync = rxsyncid = 0;
rxlastdatalen = 0;
blksize = 512;
#ifdef HAVE_ZLIB_H
cmpblksize = H_UNCBLKLEN;
#endif
goodbytes = 0;
goodneeded = 1024;
Syslog('h', "Hydra: set BRAIN timer %d", H_BRAINDEAD);