summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-29 06:26:05 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-29 06:26:05 +0000
commit7879a1a811c29660df282cba2cf6e95c50532b2b (patch)
treec63f4d5b488d3be7d771369ed0a75de02a974181
parent210711c6a06bbdba4e0539626028b1f23d27f0f6 (diff)
downloadsamba-7879a1a811c29660df282cba2cf6e95c50532b2b.tar.gz
samba-7879a1a811c29660df282cba2cf6e95c50532b2b.tar.bz2
samba-7879a1a811c29660df282cba2cf6e95c50532b2b.zip
fixed typo
(This used to be commit 624cb28271289aa697f23c32f7b5159f6fcbb51d)
-rw-r--r--source3/lib/util_unistr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_unistr.c b/source3/lib/util_unistr.c
index 48f21782b3..d2d23dafa5 100644
--- a/source3/lib/util_unistr.c
+++ b/source3/lib/util_unistr.c
@@ -59,7 +59,7 @@ void load_case_tables(void)
if (!lowcase_table) {
DEBUG(1,("creating lame lowcase table\n"));
lowcase_table = malloc(0x20000);
- for (i=0;i<0x10000;i++) upcase_table[i] = i;
+ for (i=0;i<0x10000;i++) lowcase_table[i] = i;
for (i=0;i<256;i++) lowcase_table[UCS2_CHAR(i)] = UCS2_CHAR(isupper(i)?tolower(i):i);
}