From 451856698fc04a9426ec9cb1ec039574f82f56bb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Mar 2011 17:12:05 +1100 Subject: charset: remove another allow_badcharcnv check better to fail only if there is a bad character --- lib/util/charset/charcnv.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/util/charset') diff --git a/lib/util/charset/charcnv.c b/lib/util/charset/charcnv.c index 9b93312bca..7fed7555c5 100644 --- a/lib/util/charset/charcnv.c +++ b/lib/util/charset/charcnv.c @@ -201,9 +201,6 @@ _PUBLIC_ bool convert_string_talloc_convenience(TALLOC_CTX *ctx, smb_iconv_t descriptor; ssize_t ret; - if (allow_badcharcnv) - return false; /* Not implemented yet */ - *dest = NULL; if (src == NULL || srclen == (size_t)-1 || srclen == 0) -- cgit