summaryrefslogtreecommitdiffstats
path: root/source3/lib/kanji.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-03 01:04:34 +0000
committerJeremy Allison <jra@samba.org>1998-04-03 01:04:34 +0000
commitf9c698b5eb6cd979591473bfab9ce1b9b71bb3fe (patch)
tree830349e771d1ea42efad9289c9463b2d7cc8e9c3 /source3/lib/kanji.c
parentfd6dacbcdbbc2fbcb1e8f487cd58eefb4c24b982 (diff)
downloadsamba-f9c698b5eb6cd979591473bfab9ce1b9b71bb3fe.tar.gz
samba-f9c698b5eb6cd979591473bfab9ce1b9b71bb3fe.tar.xz
samba-f9c698b5eb6cd979591473bfab9ce1b9b71bb3fe.zip
Fix from Josef Hinteregger <joehtg@joehtg.co.at> for using
character set = iso8859-1 with the new multibyte char code. Was always using sj_to_sj conversion in error. Jeremy. (This used to be commit e6a083451f8785fa1c00314a958007fe96fcc039)
Diffstat (limited to 'source3/lib/kanji.c')
-rw-r--r--source3/lib/kanji.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/kanji.c b/source3/lib/kanji.c
index 93604055476..994cf6e1bd0 100644
--- a/source3/lib/kanji.c
+++ b/source3/lib/kanji.c
@@ -1108,7 +1108,7 @@ void interpret_coding_system(char *str)
} else if (strequal (str, "hex")) {
codes = HEX_CODE;
hex_tag = HEXTAG;
- } else if (strncasecmp (str, "hex", 3)) {
+ } else if (!strncasecmp (str, "hex", 3)) {
codes = HEX_CODE;
hex_tag = (str[3] ? str[3] : HEXTAG);
} else if (strequal (str, "j8bb")) {