* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.c,v 1.145 2001/05/08 15:56:01 gson Exp $ */
+/* $Id: dig.c,v 1.146 2001/06/11 18:08:15 gson Exp $ */
#include <config.h>
#include <stdlib.h>
if (strlen(option) > 1) {
value_from_next = ISC_FALSE;
value = &option[1];
- }
- else {
+ } else {
value_from_next = ISC_TRUE;
value = next;
}
if (result == ISC_R_SUCCESS) {
(*lookup)->rdclass = rdclass;
(*lookup)->rdclassset = ISC_TRUE;
- }
- else
+ } else
fprintf(stderr, ";; Warning, ignoring "
"invalid class %s\n",
value);
if (strncasecmp(value, "ixfr=", 5) == 0) {
rdtype = dns_rdatatype_ixfr;
result = ISC_R_SUCCESS;
- }
- else
- {
+ } else {
tr.base = value;
tr.length = strlen(value);
result = dns_rdatatype_fromtext(&rdtype,
MAXSERIAL);
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
- }
- else
- {
+ } else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
if (rdtype == dns_rdatatype_axfr) {
if (strncmp(rv[0], "ixfr=", 5) == 0) {
rdtype = dns_rdatatype_ixfr;
result = ISC_R_SUCCESS;
- }
- else
- {
+ } else {
tr.base = rv[0];
tr.length = strlen(rv[0]);
result = dns_rdatatype_fromtext(&rdtype,
MAXSERIAL);
lookup->section_question = plusquest;
lookup->comments = pluscomm;
- }
- else
- {
+ } else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
if (rdtype == dns_rdatatype_axfr) {
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.200 2001/04/26 17:20:07 gson Exp $ */
+/* $Id: dighost.c,v 1.201 2001/06/11 18:08:16 gson Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
ISC_FALSE;
lookup->ns_search_only =
ISC_FALSE;
- }
- else {
+ } else {
lookup->trace =
query->
lookup->trace;
l->retries--;
requeue_lookup(l, ISC_TRUE);
}
- }
- else {
+ } else {
fputs(l->cmdline, stdout);
printf(";; connection timed out; no servers could be "
"reached\n");
* should be an NS.
*/
l->rdtype = dns_rdatatype_ns;
- }
- else
- {
+ } else {
/*
* We got an answer
* section for our
if (msg != NULL)
dns_message_destroy(&msg);
isc_event_free(&event);
- }
- else {
+ } else {
if ((msg->rcode == 0) ||
(l->origin == NULL)) {
received(b->used,