git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e273187
)
r24609: Fix the fix of r23668 for win2k giving one zero byte
author
Michael Adam
<obnox@samba.org>
Tue, 21 Aug 2007 21:55:51 +0000
(21:55 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:10 +0000
(12:30 -0500)
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
)
source3/lib/util_reg_api.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_reg_api.c
b/source3/lib/util_reg_api.c
index dcf45f3c613443f9a183a8738cfa875b85924dfd..ee9f22884bc4436bfe92f707aaa3d9f80b472f96 100644
(file)
--- 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) {