Revert hydra HXP_DATA transition
This commit is contained in:
parent
4c796b042c
commit
a2479e18f0
@ -481,7 +481,7 @@ static char *hydra_putuueblock(char *buf, char *src, size_t szsrc)
|
|||||||
*buf++ = HYDRA_UUENC(src[0] >> 2);
|
*buf++ = HYDRA_UUENC(src[0] >> 2);
|
||||||
*buf++ = HYDRA_UUENC(((src[0] << 4) & 0x30) | ((src[1] >> 4) & 0x0f));
|
*buf++ = HYDRA_UUENC(((src[0] << 4) & 0x30) | ((src[1] >> 4) & 0x0f));
|
||||||
*buf++ = HYDRA_UUENC(((src[1] << 2) & 0x3c) | ((src[2] >> 6) & 0x03));
|
*buf++ = HYDRA_UUENC(((src[1] << 2) & 0x3c) | ((src[2] >> 6) & 0x03));
|
||||||
*buf++ = (HYDRA_UUENC(src[2]) & 0x3f); //-V0578
|
*buf++ = HYDRA_UUENC(src[2] & 0x3f); //-V0578
|
||||||
}
|
}
|
||||||
|
|
||||||
if( szsrc > 0 )
|
if( szsrc > 0 )
|
||||||
@ -1725,8 +1725,7 @@ int hydra_batch(s_hydrainfo *hi, s_protinfo *pi)
|
|||||||
{
|
{
|
||||||
log("Hydra: got invalid FINFOACK packet (ignored)");
|
log("Hydra: got invalid FINFOACK packet (ignored)");
|
||||||
}
|
}
|
||||||
offs = hydra_getlong(hi->ibuf);
|
else if( (offs = hydra_getlong(hi->ibuf)) == 0 ) //-V0560 do not touch
|
||||||
if( offs == 0 )
|
|
||||||
{
|
{
|
||||||
txlastack = 0;
|
txlastack = 0;
|
||||||
txtries = 0;
|
txtries = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user