diff options
author | Ted Lemon <source@isc.org> | 2001-08-10 10:50:50 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-08-10 10:50:50 +0000 |
commit | a609e69bba4c227b52532a28d49f32f97395a56e (patch) | |
tree | 2b8e35b79518e25c5f9d19f9321dfdb0749c3589 /common/print.c | |
parent | eaf0b3020b3e558da321d7ad099bc1fc5a813750 (diff) | |
download | isc-dhcp-a609e69bba4c227b52532a28d49f32f97395a56e.tar.gz |
sync with branch
Diffstat (limited to 'common/print.c')
-rw-r--r-- | common/print.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/print.c b/common/print.c index 807a53c7..5f0c9f9d 100644 --- a/common/print.c +++ b/common/print.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: print.c,v 1.54 2001/06/27 00:29:57 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n"; +"$Id: print.c,v 1.55 2001/08/10 10:49:01 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1292,7 +1292,10 @@ void print_dns_status (int status, ns_updque *uq) strcpy (s, "empty update"); s += strlen (s); } - errorp = 1; + if (status == NOERROR) + errorp = 0; + else + errorp = 1; en = isc_result_totext (status); #if 0 switch (status) { |