mirror of
https://github.com/hufrea/byedpi.git
synced 2024-12-22 06:15:14 +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");
|
||||
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;
|
||||
if (!m) for (; m < params.dp_count; m++) {
|
||||
|
Loading…
Reference in New Issue
Block a user