From 545d6e5a3022e2d1cd4546d7b8b88c08042d3bbb Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 17 Oct 1997 17:59:38 +0000 Subject: make_unihdr() was setting the length to 1/2 the required value. (This used to be commit 4c99a083b9555b1ccf16faf0d4c1fba8f52bbb6a) --- source3/pipeutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/pipeutil.c b/source3/pipeutil.c index de58d56a98..9a5e4deedd 100644 --- a/source3/pipeutil.c +++ b/source3/pipeutil.c @@ -173,8 +173,8 @@ int make_rpc_reply(char *inbuf, char *q, int data_len) void make_uni_hdr(UNIHDR *hdr, int max_len, int len, uint16 terminate) { - hdr->uni_max_len = max_len; - hdr->uni_str_len = len; + hdr->uni_max_len = 2 * max_len; + hdr->uni_str_len = 2 * len; hdr->undoc = terminate; } -- cgit