summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-05-21 02:45:47 +0000
committerkevlo <kevlo@FreeBSD.org>2012-05-21 02:45:47 +0000
commitac02c7a60d5dd855b26b242d5c4059a0c489499d (patch)
tree47044e79171fae2cc84a4845a842589acacf20ae
parentd5c0b2755274d13729c64c84476155db6a6c6be7 (diff)
downloadFreeBSD-src-ac02c7a60d5dd855b26b242d5c4059a0c489499d.zip
FreeBSD-src-ac02c7a60d5dd855b26b242d5c4059a0c489499d.tar.gz
Use strcmp that I replaced by accident.
-rw-r--r--sys/libkern/iconv_ucs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/libkern/iconv_ucs.c b/sys/libkern/iconv_ucs.c
index 479dad8..30810eb 100644
--- a/sys/libkern/iconv_ucs.c
+++ b/sys/libkern/iconv_ucs.c
@@ -102,12 +102,12 @@ iconv_ucs_open(struct iconv_converter_class *dcp,
if (cspf)
dp->convtype |= KICONV_UCS_COMBINE;
for (i = 0; unicode_family[i].name; i++) {
- if (strcasecmp(from, unicode_family[i].name) == 0)
+ if (strcmp(from, unicode_family[i].name) == 0)
dp->convtype |= unicode_family[i].from_flag;
- if (strcasecmp(to, unicode_family[i].name) == 0)
+ if (strcmp(to, unicode_family[i].name) == 0)
dp->convtype |= unicode_family[i].to_flag;
}
- if (strcasecmp(ENCODING_UNICODE, ENCODING_UTF16) == 0)
+ if (strcmp(ENCODING_UNICODE, ENCODING_UTF16) == 0)
dp->convtype |= KICONV_UCS_UCS4;
else
dp->convtype &= ~KICONV_UCS_UCS4;
OpenPOWER on IntegriCloud