diff options
| author | Jay Sorg <jay.sorg@gmail.com> | 2013-09-23 19:17:50 -0700 |
|---|---|---|
| committer | Jay Sorg <jay.sorg@gmail.com> | 2013-09-23 19:17:50 -0700 |
| commit | fc31ae1f48bc2162c49daee8b79f66c67c9cf428 (patch) | |
| tree | b8b3a40b7849f79175844c437ae5573254192a4e /common | |
| parent | 3b743f64ebf4c857a5784add1da72ba41fcf7025 (diff) | |
| download | xrdp-proprietary-fc31ae1f48bc2162c49daee8b79f66c67c9cf428.tar.gz xrdp-proprietary-fc31ae1f48bc2162c49daee8b79f66c67c9cf428.zip | |
trans: reset p when adding to trans list
Diffstat (limited to 'common')
| -rw-r--r-- | common/trans.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/trans.c b/common/trans.c index ae150940..5d5c6125 100644 --- a/common/trans.c +++ b/common/trans.c @@ -454,6 +454,7 @@ trans_write_copy(struct trans *self) init_stream(wait_s, size); out_uint8a(wait_s, out_s->data, size); s_mark_end(wait_s); + wait_s->p = wait_s->data; if (self->wait_s == 0) { self->wait_s = wait_s; |
