mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:59:59 -04:00
style
This commit is contained in:
parent
27f9274cb4
commit
9a762177e6
2 changed files with 8 additions and 8 deletions
|
|
@ -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 <config.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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 <config.h>
|
||||
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue