1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* resolv/nsap_addr.c (inet_nsap_addr): Little optimization.

	* resolv/inet_ntop.c (inet_ntop4): Little optimization.
	(inet_ntop6): Likewise.
This commit is contained in:
Ulrich Drepper
1999-10-03 00:14:09 +00:00
parent 0c03cb9bed
commit fcb594165e
3 changed files with 10 additions and 8 deletions

View File

@ -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++)) {