]> The Tcpdump Group git mirrors - tcpdump/commitdiff
fix a couple typos
authorDenis Ovsienko <[email protected]>
Sat, 5 Apr 2014 09:49:45 +0000 (13:49 +0400)
committerDenis Ovsienko <[email protected]>
Sun, 6 Apr 2014 17:22:10 +0000 (21:22 +0400)
print-loopback.c
print-rx.c
util.c

index c0297b8d6cc6da7a41dfe0602f2d55d03caccaf5..20eee12f896a03e5cac15f602c0464eaece88b8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This module implements decoding of the the Loopback Protocol, originally
+ * This module implements decoding of the Loopback Protocol, originally
  * defined as the Configuration Testing Protocol. It is based on the following
  * specification:
  * http://www.mit.edu/people/jhawk/ctp.pdf
index 5f98eb7ac779786c0b3d9cc0581299088659b846..af80c40d7fa3827d62b7bd43b0834d86113f64be 100644 (file)
@@ -2776,7 +2776,7 @@ rx_ack_print(netdissect_options *ndo,
                                }
 
                                /*
-                                * Otherwise, if the there is a skip in
+                                * Otherwise, if there is a skip in
                                 * the range (such as an nacked packet in
                                 * the middle of some acked packets),
                                 * then print the current packet number
diff --git a/util.c b/util.c
index 4304e519875d7499dfd101064406fa2d529f97ee..22e85f5d911d66542d192b24d65f6d3185f96834 100644 (file)
--- a/util.c
+++ b/util.c
@@ -347,7 +347,7 @@ bittok2str_internal(register const struct tok *lp, register const char *fmt,
         }
 
         if (buflen != 0) { /* did we find anything */
-            /* yep, set the the trailing zero 2 bytes before to eliminate the last comma & whitespace */
+            /* yep, set the trailing zero 2 bytes before to eliminate the last comma & whitespace */
             buf[buflen-2] = '\0';
             return (buf);
         }