aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-15 03:03:29 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-15 03:03:29 +0000
commitc079107c615642d4b3559b099893119e5f0c47e3 (patch)
tree4c659b069c4c083c3e4dcde1e8fa03a2a1c93c39 /epan
parent79fac68d61054104dad933ad6ca3242643863077 (diff)
Squelch some warnings, fix some typoes.
svn path=/trunk/; revision=15806
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-fcswils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fcswils.c b/epan/dissectors/packet-fcswils.c
index eb2ed777ba..8257810bd7 100644
--- a/epan/dissectors/packet-fcswils.c
+++ b/epan/dissectors/packet-fcswils.c
@@ -625,7 +625,7 @@ dissect_swils_ess_capability (tvbuff_t *tvb, proto_tree *tree, int offset,
static int
dissect_swils_ess_capability_obj (tvbuff_t *tvb, proto_tree *tree, int offset)
{
- int i, num_entries, len = 0, total_len = 0;
+ int i = 0, num_entries = 0, len = 0, total_len = 0;
guint8 type, subtype, srvr_type;
proto_item *ti = NULL;
proto_tree *capinfo_tree = NULL;
@@ -641,7 +641,7 @@ dissect_swils_ess_capability_obj (tvbuff_t *tvb, proto_tree *tree, int offset)
num_entries = tvb_get_guint8 (tvb, offset+3);
total_len = 4 + (num_entries*8);
ti = proto_tree_add_text (tree, tvb, offset,
- total_len, "Capabilty Object (%s)",
+ total_len, "Capability Object (%s)",
val_to_str (type, fc_ct_gstype_vals,
"Unknown (0x%x)"));
capinfo_tree = proto_item_add_subtree (ti, ett_fcswils_capinfo);
@@ -651,7 +651,7 @@ dissect_swils_ess_capability_obj (tvbuff_t *tvb, proto_tree *tree, int offset)
i += 12;
ti = proto_tree_add_text (tree, tvb, offset,
- i, "Capabilty Object (Vendor-specific 0x%x)",
+ i, "Capability Object (Vendor-specific 0x%x)",
type);
capinfo_tree = proto_item_add_subtree (ti, ett_fcswils_capinfo);
}