2004-03-14  Ulrich Drepper  <drepper@redhat.com>

	* idn-stub.c (__idna_to_unicode_lzlz): Use __strchrnul, not strchrnul.

	* idna.c (idna_to_ascii_4z): Revert last patch.
This commit is contained in:
Ulrich Drepper 2004-03-14 09:18:16 +00:00
parent 76461ded58
commit 8eecbef5ae
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-03-14 Ulrich Drepper <drepper@redhat.com>
* idn-stub.c (__idna_to_unicode_lzlz): Use __strchrnul, not strchrnul.
* idna.c (idna_to_ascii_4z): Revert last patch.
2004-03-12 Ulrich Drepper <drepper@redhat.com>
* idna.c (idna_to_ascii_4z): Use strdup if available. Unify two ifs.

View File

@ -83,7 +83,7 @@ __idna_to_unicode_lzlz (const char *input, char **output, int flags)
break;
/* On to the next part of the name. */
cp = strchrnul (cp, '.');
cp = __strchrnul (cp, '.');
if (*cp == '.')
++cp;
}