CLEANUP: fix typos in comments for contrib/wireshark-dissectors
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.
diff --git a/contrib/wireshark-dissectors/peers/README b/contrib/wireshark-dissectors/peers/README
index 2021fe1..a81e98c 100644
--- a/contrib/wireshark-dissectors/peers/README
+++ b/contrib/wireshark-dissectors/peers/README
@@ -7,7 +7,7 @@
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:
diff --git a/contrib/wireshark-dissectors/peers/packet-happp.c b/contrib/wireshark-dissectors/peers/packet-happp.c
index a198331..4daf0aa 100644
--- a/contrib/wireshark-dissectors/peers/packet-happp.c
+++ b/contrib/wireshark-dissectors/peers/packet-happp.c
@@ -792,7 +792,7 @@
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 @@
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) ||