From 9a762177e6a0aff3ea5c00f87568c8ae3cd0e6c7 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 22 Nov 2001 01:59:02 +0000 Subject: [PATCH] style --- bin/dig/dig.c | 5 ++--- bin/dig/nslookup.c | 11 ++++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/dig/dig.c b/bin/dig/dig.c index f0a78139fd..ac9e7323e2 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.170 2001/11/07 05:40:48 marka Exp $ */ +/* $Id: dig.c,v 1.171 2001/11/22 01:59:01 gson Exp $ */ #include #include @@ -1277,8 +1277,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only, continue; } } - if (result == ISC_R_SUCCESS) - { + if (result == ISC_R_SUCCESS) { if (lookup->rdtypeset) { fprintf(stderr, ";; Warning, " "extra type option\n"); diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index 9da6f1ad1d..346483c7f9 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nslookup.c,v 1.92 2001/09/20 19:26:57 gson Exp $ */ +/* $Id: nslookup.c,v 1.93 2001/11/22 01:59:02 gson Exp $ */ #include @@ -132,7 +132,8 @@ static const char *rtypetext[] = { "v6 address = ", /* 38 */ "dname = ", /* 39 */ "rtype_40 = ", /* 40 */ - "optional = "}; /* 41 */ + "optional = " /* 41 */ +}; #define N_KNOWN_RRTYPES (sizeof(rtypetext) / sizeof(rtypetext[0])) @@ -583,11 +584,11 @@ setoption(char *opt) { debugging = ISC_TRUE; } else if (strncasecmp(opt, "nod2", 4) == 0) { debugging = ISC_FALSE; - } else if (strncasecmp(opt, "search",3) == 0) { + } else if (strncasecmp(opt, "search", 3) == 0) { usesearch = ISC_TRUE; - } else if (strncasecmp(opt, "nosearch",5) == 0) { + } else if (strncasecmp(opt, "nosearch", 5) == 0) { usesearch = ISC_FALSE; - } else if (strncasecmp(opt, "sil",3) == 0) { + } else if (strncasecmp(opt, "sil", 3) == 0) { deprecation_msg = ISC_FALSE; } else { printf("*** Invalid option: %s\n", opt);