diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/inet_net_pton.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/inet_net_pton.c b/resolv/inet_net_pton.c index bf6fe02ed8..d3f1350312 100644 --- a/resolv/inet_net_pton.c +++ b/resolv/inet_net_pton.c @@ -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; |