summaryrefslogtreecommitdiff
path: root/plugins/irda/packet-ircomm.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-05 21:34:19 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-06 01:42:32 +0000
commit0111e461938d47efd1eb8dc17f135b93b253ab52 (patch)
tree9409d7bf28086b3fd230993210264df1e884ec5b /plugins/irda/packet-ircomm.c
parent9e776a1ed114bb3982c061b41389143cb67b94de (diff)
downloadwireshark-0111e461938d47efd1eb8dc17f135b93b253ab52.tar.gz
plugins: Add editor modelines; Adjust whitespace as needed.
Change-Id: I36124f6021d46a228721bdc976f6b9fef1c8c088 Reviewed-on: https://code.wireshark.org/review/4488 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'plugins/irda/packet-ircomm.c')
-rw-r--r--plugins/irda/packet-ircomm.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/plugins/irda/packet-ircomm.c b/plugins/irda/packet-ircomm.c
index b89e9b2cab..76b9174606 100644
--- a/plugins/irda/packet-ircomm.c
+++ b/plugins/irda/packet-ircomm.c
@@ -30,7 +30,7 @@
/*
* See
*
- * http://www.irda.org/standards/specifications.asp
+ * http://www.irda.org/standards/specifications.asp
*
* for various IrDA specifications.
*/
@@ -175,7 +175,7 @@ static void dissect_cooked_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree*
col_set_str(pinfo->cinfo, COL_PROTOCOL, "IrCOMM");
clen = tvb_get_guint8(tvb, offset);
- len = tvb_length(tvb) - 1 - clen;
+ len = tvb_length(tvb) - 1 - clen;
@@ -216,7 +216,7 @@ static void dissect_cooked_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree*
static void dissect_raw_ircomm(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root)
{
guint len = tvb_length(tvb);
- char buf[128];
+ char buf[128];
if (len == 0)
return;
@@ -430,3 +430,16 @@ void
proto_reg_handoff_ircomm(void) {
data_handle = find_dissector("data");
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */