Fixed hydra compiling without zlib support
This commit is contained in:
parent
865ba8efee
commit
42cfa8fd28
@ -576,7 +576,9 @@ int hydra_batch(int role, file_list *to_send)
|
|||||||
rxlastsync = rxsyncid = 0;
|
rxlastsync = rxsyncid = 0;
|
||||||
rxlastdatalen = 0;
|
rxlastdatalen = 0;
|
||||||
blksize = 512;
|
blksize = 512;
|
||||||
|
#ifdef HAVE_ZLIB_H
|
||||||
cmpblksize = H_UNCBLKLEN;
|
cmpblksize = H_UNCBLKLEN;
|
||||||
|
#endif
|
||||||
goodbytes = 0;
|
goodbytes = 0;
|
||||||
goodneeded = 1024;
|
goodneeded = 1024;
|
||||||
Syslog('h', "Hydra: set BRAIN timer %d", H_BRAINDEAD);
|
Syslog('h', "Hydra: set BRAIN timer %d", H_BRAINDEAD);
|
||||||
|
Reference in New Issue
Block a user