git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3-libsmb: Remove use of cli_errstr()
[kai/samba.git]
/
libgpo
/
gpo_ini.c
diff --git
a/libgpo/gpo_ini.c
b/libgpo/gpo_ini.c
index 7df56a81b0079dce1951f1605299f862552aedc2..494162466d05ae05f9dc57ae03fa887f6f6805bf 100644
(file)
--- a/
libgpo/gpo_ini.c
+++ b/
libgpo/gpo_ini.c
@@
-88,7
+88,7
@@
static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
}
if (!convert_string_talloc(mem_ctx, CH_UTF16LE, CH_UNIX, data_in, n,
}
if (!convert_string_talloc(mem_ctx, CH_UTF16LE, CH_UNIX, data_in, n,
- (void *)&data_out, &converted_size
, false
))
+ (void *)&data_out, &converted_size))
{
status = NT_STATUS_INVALID_BUFFER_SIZE;
goto out;
{
status = NT_STATUS_INVALID_BUFFER_SIZE;
goto out;
@@
-108,7
+108,7
@@
static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
}
if (write(tmp_fd, data_out, converted_size) != converted_size) {
}
if (write(tmp_fd, data_out, converted_size) != converted_size) {
- status = map_nt_error_from_unix(errno);
+ status = map_nt_error_from_unix
_common
(errno);
goto out;
}
goto out;
}