summaryrefslogtreecommitdiff
path: root/resolv/nsap_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/nsap_addr.c')
-rw-r--r--resolv/nsap_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/nsap_addr.c b/resolv/nsap_addr.c
index 5f41a736d6..5157c37c14 100644
--- a/resolv/nsap_addr.c
+++ b/resolv/nsap_addr.c
@@ -63,7 +63,7 @@ inet_nsap_addr(ascii, binary, maxlen)
c = toupper(c);
if (isxdigit(c)) {
nib = xtob(c);
- if (c = *ascii++) {
+ if ((c = *ascii++)) {
c = toupper(c);
if (isxdigit(c)) {
*binary++ = (nib << 4) | xtob(c);