summary refs log tree commit diff
path: root/resolv/nsap_addr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-03 00:14:09 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-03 00:14:09 +0000
commitfcb594165e6433e6533dc4bda5eb319bcb59d465 (patch)
treeb25b50d559d0d4414e3c25e8bea69dd2af5c2318 /resolv/nsap_addr.c
parent0c03cb9bedf3454129ac8e50ab2d3db9b7260c78 (diff)
downloadglibc-fcb594165e6433e6533dc4bda5eb319bcb59d465.tar.gz
glibc-fcb594165e6433e6533dc4bda5eb319bcb59d465.tar.xz
glibc-fcb594165e6433e6533dc4bda5eb319bcb59d465.zip
Update.
	* resolv/nsap_addr.c (inet_nsap_addr): Little optimization.

	* resolv/inet_ntop.c (inet_ntop4): Little optimization.
	(inet_ntop6): Likewise.
Diffstat (limited to 'resolv/nsap_addr.c')
-rw-r--r--resolv/nsap_addr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/nsap_addr.c b/resolv/nsap_addr.c
index 2222cda75a..53a19d59be 100644
--- a/resolv/nsap_addr.c
+++ b/resolv/nsap_addr.c
@@ -60,8 +60,7 @@ inet_nsap_addr(ascii, binary, maxlen)
 			continue;
 		if (!isascii(c))
 			return (0);
-		if (islower(c))
-			c = toupper(c);
+		c = toupper(c);
 		if (isxdigit(c)) {
 			nib = xtob(c);
 			if ((c = *ascii++)) {