charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
[samba.git] / libgpo / gpo_ini.c
index 7df56a81b0079dce1951f1605299f862552aedc2..a4bff0e86b8381412bfc3980163248065c9ba99e 100644 (file)
@@ -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,
-                                  (void *)&data_out, &converted_size, false))
+                                  (void *)&data_out, &converted_size))
        {
                status = NT_STATUS_INVALID_BUFFER_SIZE;
                goto out;