mirror of
https://github.com/3proxy/3proxy.git
synced 2026-06-30 18:40:11 +08:00
Fix invalid offset in datafilters
This commit is contained in:
parent
af9f23ece7
commit
8f13582329
@ -201,7 +201,7 @@ log(logbuf);
|
||||
log("send to server from buf");
|
||||
#endif
|
||||
if(!param->nolongdatfilter){
|
||||
action = handledatfltcli(param, ¶m->clibuf, (int *)¶m->clibufsize, param->cliinbuf - res, (int *)¶m->cliinbuf);
|
||||
action = handledatfltcli(param, ¶m->clibuf, (int *)¶m->clibufsize, param->clioffset, (int *)¶m->cliinbuf);
|
||||
if(action == HANDLED){
|
||||
RETURN(0);
|
||||
}
|
||||
@ -247,7 +247,7 @@ log("done send to server from buf");
|
||||
log("send to client from buf");
|
||||
#endif
|
||||
if(!param->nolongdatfilter){
|
||||
action = handledatfltsrv(param, ¶m->srvbuf, (int *)¶m->srvbufsize, param->srvinbuf - res, (int *)¶m->srvinbuf);
|
||||
action = handledatfltsrv(param, ¶m->srvbuf, (int *)¶m->srvbufsize, param->srvoffset, (int *)¶m->srvinbuf);
|
||||
if(action == HANDLED){
|
||||
RETURN(0);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user