Attempt to fix SuSe compile again
This commit is contained in:
parent
72fcbee9be
commit
d52ae4f113
@ -558,6 +558,7 @@ int hydra_batch(int role, file_list *to_send)
|
|||||||
static char txzbuf[H_ZIPBUFLEN], rxzbuf[H_ZIPBUFLEN];
|
static char txzbuf[H_ZIPBUFLEN], rxzbuf[H_ZIPBUFLEN];
|
||||||
unsigned int rxzlen, txzlen; /* length of receive/transmit compressed buffer */
|
unsigned int rxzlen, txzlen; /* length of receive/transmit compressed buffer */
|
||||||
int rcz, cmpblksize;
|
int rcz, cmpblksize;
|
||||||
|
unsigned long destLen;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Syslog('h', "Hydra: resettimers");
|
Syslog('h', "Hydra: resettimers");
|
||||||
@ -1038,7 +1039,6 @@ int hydra_batch(int role, file_list *to_send)
|
|||||||
Syslog('h', "Hydra: set BRAIN timer %d", H_BRAINDEAD); // 03-11-2003 MB.
|
Syslog('h', "Hydra: set BRAIN timer %d", H_BRAINDEAD); // 03-11-2003 MB.
|
||||||
SETTIMER(TIMERNO_BRAIN, H_BRAINDEAD); // 03-11-2003 MB.
|
SETTIMER(TIMERNO_BRAIN, H_BRAINDEAD); // 03-11-2003 MB.
|
||||||
#ifdef HAVE_ZLIB_H
|
#ifdef HAVE_ZLIB_H
|
||||||
unsigned long destLen;
|
|
||||||
if (compstate == HCMP_GZ) {
|
if (compstate == HCMP_GZ) {
|
||||||
txzlen = H_ZIPBUFLEN - 4;
|
txzlen = H_ZIPBUFLEN - 4;
|
||||||
destLen = (unsigned long)txzlen;
|
destLen = (unsigned long)txzlen;
|
||||||
@ -1500,7 +1500,6 @@ int hydra_batch(int role, file_list *to_send)
|
|||||||
/*
|
/*
|
||||||
* If data packet is a zlib compressed packet, uncompress it first.
|
* If data packet is a zlib compressed packet, uncompress it first.
|
||||||
*/
|
*/
|
||||||
unsigned long destLen;
|
|
||||||
if (pkttype == HPKT_ZIPDATA) {
|
if (pkttype == HPKT_ZIPDATA) {
|
||||||
rxzlen = H_ZIPBUFLEN;
|
rxzlen = H_ZIPBUFLEN;
|
||||||
destLen = (unsigned long)rxzlen;
|
destLen = (unsigned long)rxzlen;
|
||||||
|
Reference in New Issue
Block a user