From eca6a40ade5cca62b767814d640b2125d0cdce46 Mon Sep 17 00:00:00 2001 From: Evgeniy Kozhuhovskiy Date: Sat, 3 Sep 2005 09:57:09 +0000 Subject: [PATCH] fixed hydra --- source/ChangeLog | 5 +++++ source/bforce/prot_hydra.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/ChangeLog b/source/ChangeLog index d6c5fd8..5cbda29 100644 --- a/source/ChangeLog +++ b/source/ChangeLog @@ -1,3 +1,8 @@ +2005-09-03 Evgeniy Kozhuhovskiy + + * bforce/prot_hydra.c: added patch to fix problems while sending + files from ?lo on hydra, by anray + 2005-06-23 Evgeniy Kozhuhovskiy * bforce/prot_emsi.c (sm_rx_waitseq): reviewed code for buggy-emsi option diff --git a/source/bforce/prot_hydra.c b/source/bforce/prot_hydra.c index cfb4cf0..a6521d7 100644 --- a/source/bforce/prot_hydra.c +++ b/source/bforce/prot_hydra.c @@ -1030,7 +1030,7 @@ static int hydra_parse_init(s_hydrainfo *hi, char *pkt, size_t pktlen) /* * Get other's Hydra revision time stamp */ - sscanf(pkt, "%08lx", &revtime); + sscanf(pkt, "%08lx", (unsigned long *)&revtime); /* * Get other's application info @@ -1638,7 +1638,7 @@ int hydra_batch(s_hydrainfo *hi, s_protinfo *pi) /* Get file modification time and size */ sscanf(hi->ibuf, "%08lx%08x%*08x%*08x%*08x", - &modtime, &filesize); + (unsigned long *)&modtime, &filesize); /* Convert local time -> UTC */ modtime = localtogmt(modtime);