From 2d7ae2107d3713981a66011ec62d094e32ec46fb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 4 May 2004 19:25:38 +0000 Subject: Update. * sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention rt-sysdep. * sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file. --- libidn/stringprep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libidn/stringprep.c') diff --git a/libidn/stringprep.c b/libidn/stringprep.c index 357f9e924f..1841b36178 100644 --- a/libidn/stringprep.c +++ b/libidn/stringprep.c @@ -42,7 +42,7 @@ stringprep_find_character_in_table (uint32_t ucs4, mostly interested in having someone give real-world benchmark on the impact of libidn.) */ - for (i = 0; table[i].start; i++) + for (i = 0; table[i].start || table[i].end; i++) if (ucs4 >= table[i].start && ucs4 <= (table[i].end ? table[i].end : table[i].start)) return i; -- cgit v1.2.3