mirror of
https://github.com/hufrea/byedpi.git
synced 2025-07-05 13:34:02 +00:00
fix: overwrite request if split
This commit is contained in:
parent
a5d94d1d7e
commit
13d0a9e4ed
2
extend.c
2
extend.c
@ -366,7 +366,7 @@ int on_desync(struct poolhd *pool, struct eval *val,
|
|||||||
uniperror("realloc");
|
uniperror("realloc");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
memcpy(val->buff.data + val->buff.offset, buffer, n);
|
memcpy(val->buff.data + val->buff.size - n, buffer, n);
|
||||||
|
|
||||||
int m = val->attempt;
|
int m = val->attempt;
|
||||||
if (!m) for (; m < params.dp_count; m++) {
|
if (!m) for (; m < params.dp_count; m++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user