trans: reset p when adding to trans list
This commit is contained in:
parent
3b743f64eb
commit
fc31ae1f48
@ -454,6 +454,7 @@ trans_write_copy(struct trans *self)
|
|||||||
init_stream(wait_s, size);
|
init_stream(wait_s, size);
|
||||||
out_uint8a(wait_s, out_s->data, size);
|
out_uint8a(wait_s, out_s->data, size);
|
||||||
s_mark_end(wait_s);
|
s_mark_end(wait_s);
|
||||||
|
wait_s->p = wait_s->data;
|
||||||
if (self->wait_s == 0)
|
if (self->wait_s == 0)
|
||||||
{
|
{
|
||||||
self->wait_s = wait_s;
|
self->wait_s = wait_s;
|
||||||
|
Loading…
Reference in New Issue
Block a user