From: Greg Ward Date: Wed, 29 Jan 2014 14:46:22 +0000 (-0500) Subject: drill: fix spelling/grammar/punctuation in option help and comments X-Git-Tag: release-1.7.0-rc1~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9c206d4d48ecc927b6dca194bbd8514b94375d0;p=thirdparty%2Fldns.git drill: fix spelling/grammar/punctuation in option help and comments --- diff --git a/drill/chasetrace.c b/drill/chasetrace.c index 57a2c08f..13778c15 100644 --- a/drill/chasetrace.c +++ b/drill/chasetrace.c @@ -125,9 +125,9 @@ static bool set_nss_for_name( */ /* same naive method as in drill0.9 - * We resolver _ALL_ the names, which is ofcourse not needed + * We resolve _ALL_ the names, which is of course not needed. * We _do_ use the local resolver to do that, so it still is - * fast, but it can be made to run much faster + * fast, but it can be made to run much faster. */ ldns_pkt * do_trace(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t, @@ -218,7 +218,7 @@ do_trace(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t, ldns_pkt_reply_type(p) == LDNS_PACKET_REFERRAL) { if (!p) { - /* some error occurred, bail out */ + /* some error occurred -- bail out */ return NULL; } add_referrals(referrals, p); @@ -231,7 +231,7 @@ do_trace(ldns_resolver *local_res, ldns_rdf *name, ldns_rr_type t, return NULL; } if (loop_count++ > 20) { - /* unlikely that we are doing something usefull */ + /* unlikely that we are doing anything useful */ error("Looks like we are looping"); ldns_pkt_free(p); return NULL; diff --git a/drill/drill.c b/drill/drill.c index b967ad94..84469b1d 100644 --- a/drill/drill.c +++ b/drill/drill.c @@ -31,7 +31,7 @@ usage(FILE *stream, const char *progname) fprintf(stream, "\t-D\t\tenable DNSSEC (DO bit)\n"); #ifdef HAVE_SSL fprintf(stream, "\t-T\t\ttrace from the root down to \n"); - fprintf(stream, "\t-S\t\tchase signature(s) from to a know key [*]\n"); + fprintf(stream, "\t-S\t\tchase signature(s) from to a known key [*]\n"); #endif /*HAVE_SSL*/ fprintf(stream, "\t-I
\tsource address to query from\n"); fprintf(stream, "\t-V \tverbosity (0-5)\n"); @@ -495,7 +495,7 @@ main(int argc, char *argv[]) /* set the nameserver to use */ if (!serv) { - /* no server given make a resolver from /etc/resolv.conf */ + /* no server given -- make a resolver from /etc/resolv.conf */ status = ldns_resolver_new_frm_file(&res, resolv_conf_file); if (status != LDNS_STATUS_OK) { warning("Could not create a resolver structure: %s (%s)\n"