]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: fix typos in comments for contrib/wireshark-dissectors
authorJoseph Herlant <aerostitch@debian.org>
Sat, 10 Nov 2018 03:00:24 +0000 (19:00 -0800)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Nov 2018 07:53:16 +0000 (08:53 +0100)
This fixes a typo in the README of the peers section of this subsystem
and 2 typos in code comments. Groupped together as cleanup to avoid too
many 1 char patches.

contrib/wireshark-dissectors/peers/README
contrib/wireshark-dissectors/peers/packet-happp.c

index 2021fe11ad8228e4e8d7ce4ce3a643741e47035e..a81e98cfa89acc08d8bca9093773277e18f4c956 100644 (file)
@@ -7,7 +7,7 @@ on Windows systems (could not be tested).
 
 1) File list
 -------------
- - packet-happp.c: source code for HAProxy Peers Procotol (HAPPP) dissection
+ - packet-happp.c: source code for HAProxy Peers Protocol (HAPPP) dissection
    support.
  - wireshark.happp.dissector.patch: a patch file for wireshark sources to enable HAPPP
    dissection support. Note that this patch file modifies only two files:
index a198331698ff496b1edd1d44f85d0771463a9e7a..4daf0aa45b6b02d0d202a7d01cc3ce183bd78dcc 100644 (file)
@@ -792,7 +792,7 @@ static void dissect_happp_stkt_define_msg(tvbuff_t *tvb, packet_info *pinfo _U_,
                return;
 
        /*
-        * According to the documentation, it is not our responsability
+        * According to the documentation, it is not our responsibility
         * to free this allocated memory.
         */
        happp_cv_data = (struct happp_cv_data_t *)wmem_alloc(wmem_file_scope(),
@@ -1599,7 +1599,7 @@ dissect_happp_heur_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
        if (tvb_captured_length(tvb) < proto_strlen + 1)
                return FALSE;
 
-       /* Check that we received a line begining with HAPPP_PROTOCOL
+       /* Check that we received a line beginning with HAPPP_PROTOCOL
         * followed by a space character.
         */
        if (tvb_strneql(tvb, 0, HAPPP_PROTOCOL, proto_strlen) ||