From d52ae4f113bd6f1b336ee7804e68a98a9fc9f380 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 20 Oct 2005 18:35:16 +0000 Subject: [PATCH] Attempt to fix SuSe compile again --- mbcico/hydra.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mbcico/hydra.c b/mbcico/hydra.c index 5721b222..0992b9f7 100644 --- a/mbcico/hydra.c +++ b/mbcico/hydra.c @@ -558,6 +558,7 @@ int hydra_batch(int role, file_list *to_send) static char txzbuf[H_ZIPBUFLEN], rxzbuf[H_ZIPBUFLEN]; unsigned int rxzlen, txzlen; /* length of receive/transmit compressed buffer */ int rcz, cmpblksize; + unsigned long destLen; #endif 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. SETTIMER(TIMERNO_BRAIN, H_BRAINDEAD); // 03-11-2003 MB. #ifdef HAVE_ZLIB_H - unsigned long destLen; if (compstate == HCMP_GZ) { txzlen = H_ZIPBUFLEN - 4; 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. */ - unsigned long destLen; if (pkttype == HPKT_ZIPDATA) { rxzlen = H_ZIPBUFLEN; destLen = (unsigned long)rxzlen;