summaryrefslogtreecommitdiffstats
path: root/source/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
commite6a083451f8785fa1c00314a958007fe96fcc039 (patch)
tree64ac3d2860855157a1314b26a931199880344418 /source/lib/kanji.c
parent0f4914b870b0dfa876ac47d29f3a1b3736a3d698 (diff)
downloadsamba-e6a083451f8785fa1c00314a958007fe96fcc039.tar.gz
samba-e6a083451f8785fa1c00314a958007fe96fcc039.tar.xz
samba-e6a083451f8785fa1c00314a958007fe96fcc039.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.
Diffstat (limited to 'source/lib/kanji.c')
-rw-r--r--source/lib/kanji.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/kanji.c b/source/lib/kanji.c
index 93604055476..994cf6e1bd0 100644
--- a/source/lib/kanji.c
+++ b/source/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")) {