summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-08-21 21:55:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:10 -0500
commit1523103164675b2ffe938f9d8014574c9381f4b2 (patch)
tree5333885008db5689f3619c3df3929213497a59c2 /source3/lib
parente273187811f4745fa67181e01de042d3a6a2df10 (diff)
downloadsamba-1523103164675b2ffe938f9d8014574c9381f4b2.tar.gz
samba-1523103164675b2ffe938f9d8014574c9381f4b2.tar.bz2
samba-1523103164675b2ffe938f9d8014574c9381f4b2.zip
r24609: Fix the fix of r23668 for win2k giving one zero byte
instead of a 2-byte zero character. I can't recall what rode me when I put that "2" there. But now I think I have got it right... :-) Michael (This used to be commit fa010bef11b78ac3bbf0091870ce8cd5a53334af)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_reg_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c
index dcf45f3c61..ee9f22884b 100644
--- a/source3/lib/util_reg_api.c
+++ b/source3/lib/util_reg_api.c
@@ -61,7 +61,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
err = WERR_NOMEM;
goto error;
}
- tmp[0] = 2;
+ tmp[0] = 0;
tmp[1] = 0;
}
else if ((length % 2) != 0) {