summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/nsap_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/net/nsap_addr.c')
-rw-r--r--src/lib/libc/net/nsap_addr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/nsap_addr.c b/src/lib/libc/net/nsap_addr.c
index e62d952a07..22a5f8d66e 100644
--- a/src/lib/libc/net/nsap_addr.c
+++ b/src/lib/libc/net/nsap_addr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: nsap_addr.c,v 1.3 1997/03/13 19:07:34 downsj Exp $ */ 1/* $OpenBSD: nsap_addr.c,v 1.4 1997/07/09 01:08:45 millert Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996 by Internet Software Consortium. 4 * Copyright (c) 1996 by Internet Software Consortium.
@@ -21,7 +21,7 @@
21#if 0 21#if 0
22static char rcsid[] = "$From: nsap_addr.c,v 8.3 1996/08/05 08:31:35 vixie Exp $"; 22static char rcsid[] = "$From: nsap_addr.c,v 8.3 1996/08/05 08:31:35 vixie Exp $";
23#else 23#else
24static char rcsid[] = "$OpenBSD: nsap_addr.c,v 1.3 1997/03/13 19:07:34 downsj Exp $"; 24static char rcsid[] = "$OpenBSD: nsap_addr.c,v 1.4 1997/07/09 01:08:45 millert Exp $";
25#endif 25#endif
26#endif /* LIBC_SCCS and not lint */ 26#endif /* LIBC_SCCS and not lint */
27 27
@@ -58,7 +58,7 @@ inet_nsap_addr(ascii, binary, maxlen)
58 c = toupper(c); 58 c = toupper(c);
59 if (isxdigit(c)) { 59 if (isxdigit(c)) {
60 nib = xtob(c); 60 nib = xtob(c);
61 if (c = *ascii++) { 61 if ((c = *ascii++)) {
62 c = toupper(c); 62 c = toupper(c);
63 if (isxdigit(c)) { 63 if (isxdigit(c)) {
64 *binary++ = (nib << 4) | xtob(c); 64 *binary++ = (nib << 4) | xtob(c);