charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
[kai/samba.git] / source3 / registry / reg_parse.c
index b76bcfe2a7189416b647d1e6e381142183f0640c..c03b39c29d794176d5e39b79b779f9941a66cdd8 100644 (file)
@@ -162,7 +162,7 @@ static bool act_val_sz(struct reg_parse* p, cbuf* value, bool cont)
 
                if (convert_string_talloc(p->valblob, CH_UNIX, CH_UTF16LE,
                                          src, strlen(src)+1,
-                                         &dst, &dlen, true))
+                                         &dst, &dlen))
                {
                        cbuf_swapptr(p->valblob, &dst, dlen);
                } else {