Use _tolower instead of tolower.
authordrepper <drepper>
Sat, 23 Jan 1999 22:15:01 +0000 (22:15 +0000)
committerdrepper <drepper>
Sat, 23 Jan 1999 22:15:01 +0000 (22:15 +0000)
resolv/inet_net_pton.c

index bf6fe02..d3f1350 100644 (file)
@@ -107,8 +107,7 @@ inet_net_pton_ipv4(src, dst, size)
                src++;  /* skip x or X. */
                while ((ch = *src++) != '\0' &&
                       isascii(ch) && isxdigit(ch)) {
-                       if (isupper(ch))
-                               ch = tolower(ch);
+                       ch = _tolower(ch);
                        n = strchr(xdigits, ch) - xdigits;
                        assert(n >= 0 && n <= 15);
                        *dst |= n;