diff options
Diffstat (limited to 'source4/lib/stream/packet.c')
-rw-r--r-- | source4/lib/stream/packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/stream/packet.c b/source4/lib/stream/packet.c index 7aed43a9436..76b796d4b59 100644 --- a/source4/lib/stream/packet.c +++ b/source4/lib/stream/packet.c @@ -291,6 +291,7 @@ next_partial: /* it is a full request - give it to the caller */ blob = pc->partial; + blob.length = pc->num_read; if (pc->packet_size < pc->num_read) { pc->partial = data_blob_talloc(pc, blob.data + pc->packet_size, |