aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ber.c
diff options
context:
space:
mode:
authormoshekaplan <me@moshekaplan.com>2016-01-05 19:58:42 -0500
committerMichael Mann <mmann78@netscape.net>2016-01-08 20:04:56 +0000
commitcd7026951b2354cb633b51cd82d6de0a0f622f00 (patch)
tree98e01231a03392a988f8621a8cbc6f7553bce0ca /epan/dissectors/packet-ber.c
parentc1bcbb6eee97239be09d820ca3c16c46cf072fc6 (diff)
Fix a lot of typos and misspellings
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3 Reviewed-on: https://code.wireshark.org/review/13069 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r--epan/dissectors/packet-ber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c
index 76fd68b547..dbe5175dc7 100644
--- a/epan/dissectors/packet-ber.c
+++ b/epan/dissectors/packet-ber.c
@@ -3604,7 +3604,7 @@ dissect_ber_GeneralizedTime(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree
first_delim[0] = 0;
second_delim[0] = 0;
ret = sscanf( tmpstr, "%14d%1[.,+-Z]%4d%1[+-Z]%4d", &tmp_int, first_delim, &first_digits, second_delim, &second_digits);
- /* tmp_int does not contain valid value bacause of overflow but we use it just for format checking */
+ /* tmp_int does not contain valid value because of overflow but we use it just for format checking */
if (ret < 1) {
/* Nothing matched */
goto invalid;
@@ -4033,7 +4033,7 @@ dissect_ber_bitstring32(gboolean implicit_tag, asn1_ctx_t *actx, proto_tree *par
tree = proto_item_get_subtree(actx->created_item);
if (bit_fields && tree && tmp_tvb) {
/* tmp_tvb points to the actual bitstring (including any pad bits at the end.
- * note that this bitstring is not neccessarily always encoded as 4 bytes
+ * note that this bitstring is not necessarily always encoded as 4 bytes
* so we have to read it byte by byte.
*/
val = 0;