aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ocfs2.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-06-07 13:46:59 -0400
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-06-08 04:47:48 +0000
commitf95db69aa1233359c79c356c66f132a1c1afb338 (patch)
treec9631455405940f7b904e82cb512441871d78084 /epan/dissectors/packet-ocfs2.c
parent639fd7d60d15dc6c707dbd95af7bd811ed21f3d3 (diff)
Add editor-modelines; Don't use tabwidth=4; Adjust whitespace.
Change-Id: I7c287b176002c48dee6ae44334ee9fad221b4cd3 Reviewed-on: https://code.wireshark.org/review/8816 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ocfs2.c')
-rw-r--r--epan/dissectors/packet-ocfs2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ocfs2.c b/epan/dissectors/packet-ocfs2.c
index 105a82173c..f0a99e9bc4 100644
--- a/epan/dissectors/packet-ocfs2.c
+++ b/epan/dissectors/packet-ocfs2.c
@@ -448,7 +448,7 @@ static int dlm_cookie_handler(proto_tree *tree, tvbuff_t *tvb, guint offset, int
proto_item_append_text(item, " (%u:%" G_GINT64_MODIFIER "u)", node_idx, seq);
- return offset + 8;
+ return offset + 8;
}
static int dlm_lkm_flags_handler(proto_tree *tree, tvbuff_t *tvb, guint offset)
@@ -481,7 +481,7 @@ static int dlm_lkm_flags_handler(proto_tree *tree, tvbuff_t *tvb, guint offset)
&hf_dlm_lock_flag_put_lvb,
&hf_dlm_lock_flag_get_lvb,
&hf_dlm_lock_flag_recovery
- };
+ };
proto_tree_add_bitmask_with_flags(tree, tvb, offset, hf_dlm_lock_flags,
ett_dtm_lock_flags, flags, ENC_BIG_ENDIAN, BMT_NO_INT | BMT_NO_FALSE | BMT_NO_TFS);
@@ -630,7 +630,7 @@ static void dissect_dlm_migrate_lockres(proto_tree *tree, tvbuff_t *tvb, int off
static void
dlm_fmt_revision( gchar *result, guint32 revision )
{
- g_snprintf( result, ITEM_LABEL_LENGTH, "%d.%02d", (guint8)(( revision & 0xFF00 ) >> 8), (guint8)(revision & 0xFF) );
+ g_snprintf( result, ITEM_LABEL_LENGTH, "%d.%02d", (guint8)(( revision & 0xFF00 ) >> 8), (guint8)(revision & 0xFF) );
}
#define DLM_QUERY_JOIN_REQUEST_OFF_DLMPROTO 4