v0.27 #6

Merged
zx merged 11 commits from zx into master 2025-04-27 23:38:09 +03:00
Showing only changes of commit a2479e18f0 - Show all commits

View File

@ -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] << 4) & 0x30) | ((src[1] >> 4) & 0x0f));
*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 )
@ -1725,8 +1725,7 @@ int hydra_batch(s_hydrainfo *hi, s_protinfo *pi)
{
log("Hydra: got invalid FINFOACK packet (ignored)");
}
offs = hydra_getlong(hi->ibuf);
if( offs == 0 )
else if( (offs = hydra_getlong(hi->ibuf)) == 0 ) //-V0560 do not touch
{
txlastack = 0;
txtries = 0;