From: Danny Al-Gaaf Subject: [PATCH 2/2] wireshark: fix indention Date: Thu, 24 Jan 2013 18:21:21 +0100 Message-ID: <1359048081-17840-3-git-send-email-danny.al-gaaf@bisect.de> References: <1359048081-17840-1-git-send-email-danny.al-gaaf@bisect.de> Return-path: Received: from wp188.webpack.hosteurope.de ([80.237.132.195]:58096 "EHLO wp188.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751992Ab3AXRV0 (ORCPT ); Thu, 24 Jan 2013 12:21:26 -0500 In-Reply-To: <1359048081-17840-1-git-send-email-danny.al-gaaf@bisect.de> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: ceph-devel@vger.kernel.org Cc: Danny Al-Gaaf , Sage Weil Fix indention. Signed-off-by: Danny Al-Gaaf --- wireshark/ceph/packet-ceph.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/wireshark/ceph/packet-ceph.c b/wireshark/ceph/packet-ceph.c index 84bfdd1..5d2c702 100644 --- a/wireshark/ceph/packet-ceph.c +++ b/wireshark/ceph/packet-ceph.c @@ -906,19 +906,19 @@ static guint32 dissect_ceph_auth_reply(tvbuff_t *tvb, proto_tree *tree, guint32 guint64 global_id; proto_item *ceph_sub_item = NULL; proto_item *ceph_item = proto_tree_get_parent(tree); - proto_tree *ceph_auth_reply_tree; + proto_tree *ceph_auth_reply_tree; - ceph_auth_reply_tree = proto_item_add_subtree(ceph_item, ett_ceph); + ceph_auth_reply_tree = proto_item_add_subtree(ceph_item, ett_ceph); ceph_sub_item = proto_tree_add_item( tree, hf_ceph_auth_reply, tvb, offset, 16, TRUE ); - ceph_auth_reply_tree = proto_item_add_subtree(ceph_sub_item, ett_ceph); + ceph_auth_reply_tree = proto_item_add_subtree(ceph_sub_item, ett_ceph); - PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"protocol: %d",protocol); - PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"result: %d",result); - PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letoh64,"global_id: %" G_GUINT64_FORMAT, global_id); - PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"payload_len: %d",payload_len); + PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"protocol: %d",protocol); + PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"result: %d",result); + PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letoh64,"global_id: %" G_GUINT64_FORMAT, global_id); + PROTO_ADD_SIMPLE_TEXT(ceph_auth_reply_tree,tvb_get_letohl,"payload_len: %d",payload_len); - str_len = tvb_get_letohl(tvb,offset+payload_len); - proto_tree_add_text(ceph_auth_reply_tree, tvb, offset+payload_len, str_len,"%s",tvb_get_const_stringz(tvb,offset,&str_len)); + str_len = tvb_get_letohl(tvb,offset+payload_len); + proto_tree_add_text(ceph_auth_reply_tree, tvb, offset+payload_len, str_len,"%s",tvb_get_const_stringz(tvb,offset,&str_len)); return offset; } @@ -930,11 +930,11 @@ static guint32 dissect_ceph_pgpools(tvbuff_t *tvb, proto_tree *tree, guint32 off ceph_pgpools_tree = proto_item_add_subtree(ceph_item, ett_ceph); ceph_sub_item = proto_tree_add_item(tree, hf_ceph_pgpools, tvb, offset, -1, TRUE ); ceph_pgpools_tree = proto_item_add_subtree(ceph_sub_item, ett_ceph); - PROTO_ADD_SIMPLE_TEXT(ceph_pgpools_tree,tvb_get_letohl," %d pool(s)",n); - for ( i = 0; itv_sec; -- 1.8.1.1