summaryrefslogtreecommitdiff
path: root/common/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/print.c')
-rw-r--r--common/print.c7
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) {