]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
drill: fix spelling/grammar/punctuation in option help and comments
authorGreg Ward <greg@gerg.ca>
Wed, 29 Jan 2014 14:46:22 +0000 (09:46 -0500)
committerWillem Toorop <willem@nlnetlabs.nl>
Wed, 29 Jan 2014 15:10:03 +0000 (16:10 +0100)
drill/chasetrace.c
drill/drill.c

index 57a2c08f53c69dc781c46de84ccf1108e1ad8657..13778c15a8664f923a30f9625aef6b66e633f92c 100644 (file)
@@ -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;
index b967ad949c8de96c1c32f15c4a5168ea73830198..84469b1db0d40db3c8022df6dd5007f25028bd8c 100644 (file)
@@ -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 <name>\n");
-       fprintf(stream, "\t-S\t\tchase signature(s) from <name> to a know key [*]\n");
+       fprintf(stream, "\t-S\t\tchase signature(s) from <name> to a known key [*]\n");
 #endif /*HAVE_SSL*/
        fprintf(stream, "\t-I <address>\tsource address to query from\n");
        fprintf(stream, "\t-V <number>\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"