summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-23 17:12:05 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-24 01:01:04 +0100
commit451856698fc04a9426ec9cb1ec039574f82f56bb (patch)
tree489284647e6382d11d46251f206cf7a688bac622
parent2639f0b3ab23f0ae369e3cbae5dfb433cbb2a583 (diff)
downloadsamba-451856698fc04a9426ec9cb1ec039574f82f56bb.tar.gz
samba-451856698fc04a9426ec9cb1ec039574f82f56bb.tar.bz2
samba-451856698fc04a9426ec9cb1ec039574f82f56bb.zip
charset: remove another allow_badcharcnv check
better to fail only if there is a bad character
-rw-r--r--lib/util/charset/charcnv.c3
1 files changed, 0 insertions, 3 deletions
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)