diff options
| author | millert <> | 1997-07-09 01:08:53 +0000 |
|---|---|---|
| committer | millert <> | 1997-07-09 01:08:53 +0000 |
| commit | 876d3a1be4aa406672cc674a171f26878319d505 (patch) | |
| tree | 72a738d612791a6e60d74a474bca3bbbcac4828c /src/lib/libc/net/nsap_addr.c | |
| parent | fd3592b18f24103bfc82412a8950e5f06e549ff1 (diff) | |
| download | openbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.gz openbsd-876d3a1be4aa406672cc674a171f26878319d505.tar.bz2 openbsd-876d3a1be4aa406672cc674a171f26878319d505.zip | |
Clean up some -Wall flowers.
Diffstat (limited to 'src/lib/libc/net/nsap_addr.c')
| -rw-r--r-- | src/lib/libc/net/nsap_addr.c | 6 |
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 |
| 22 | static char rcsid[] = "$From: nsap_addr.c,v 8.3 1996/08/05 08:31:35 vixie Exp $"; | 22 | static char rcsid[] = "$From: nsap_addr.c,v 8.3 1996/08/05 08:31:35 vixie Exp $"; |
| 23 | #else | 23 | #else |
| 24 | static char rcsid[] = "$OpenBSD: nsap_addr.c,v 1.3 1997/03/13 19:07:34 downsj Exp $"; | 24 | static 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); |
