diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 17:58:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:37 +0100 |
commit | cb7c72a0ef9a8e6d145ead6286e54ec50ddf3988 (patch) | |
tree | 00f01ed22b54dc83f87031e9f25a71f3cd12dc69 /source4/lib | |
parent | 6f1efbba065e0f0c9eaaa4a3c8c40ecfa1277107 (diff) | |
download | samba-cb7c72a0ef9a8e6d145ead6286e54ec50ddf3988.tar.gz samba-cb7c72a0ef9a8e6d145ead6286e54ec50ddf3988.tar.bz2 samba-cb7c72a0ef9a8e6d145ead6286e54ec50ddf3988.zip |
r26263: Don't assume CH_UNIX is CH_UTF8.
(This used to be commit 69157be9b180e4d82a66257afb5f774ef16cea89)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/registry/ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index fdd4c27599..6ce422049b 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -85,7 +85,7 @@ static struct ldb_message *reg_ldb_pack_value(struct ldb_context *ctx, switch (type) { case REG_SZ: case REG_EXPAND_SZ: - val.length = convert_string_talloc(mem_ctx, CH_UTF16, CH_UTF8, + val.length = convert_string_talloc(mem_ctx, CH_UTF16, CH_UNIX, (void *)data.data, data.length, (void **)&val.data); |