aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-04 14:59:18 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-04 14:59:18 +0000
commit7a3721dceaa7052981aaa7e28c1f664d58d996b9 (patch)
treeedc246f7e04d019899085f85a67c67edcb7bf660 /asn1
parent62de58c913ff8e760eba38b1f26e1d3879e62543 (diff)
Whitespace changes
svn path=/trunk/; revision=30301
Diffstat (limited to 'asn1')
-rw-r--r--asn1/charging_ase/packet-charging_ase-template.c33
1 files changed, 11 insertions, 22 deletions
diff --git a/asn1/charging_ase/packet-charging_ase-template.c b/asn1/charging_ase/packet-charging_ase-template.c
index bb1746a506..4261f2d20a 100644
--- a/asn1/charging_ase/packet-charging_ase-template.c
+++ b/asn1/charging_ase/packet-charging_ase-template.c
@@ -22,8 +22,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* References: ETSI ES 201 296 V1.3.1 (2003-04)
*/
-
-
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -39,7 +37,6 @@
#include "packet-ber.h"
#include "packet-charging_ase.h"
-
#define PNAME "Charging ASE"
#define PSNAME "ChargingASE"
#define PFNAME "chargingase"
@@ -52,30 +49,26 @@ static int proto_charging_ase = -1;
static int ett_charging_ase = -1;
#include "packet-charging_ase-ett.c"
-static dissector_handle_t charging_ase_handle;
-
+static dissector_handle_t charging_ase_handle;
#include "packet-charging_ase-fn.c"
static void
dissect_charging_ase(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- proto_item *it;
- proto_tree *tr;
-
- it=proto_tree_add_protocol_format(tree, proto_charging_ase, tvb, 0, tvb_length(tvb), "Charging ASE");
- tr=proto_item_add_subtree(it, ett_charging_ase);
+ proto_item *it;
+ proto_tree *tr;
- if(tvb_length(tvb)>0)
- {
- dissect_charging_ase_ChargingMessageType_PDU(tvb , pinfo, tr);
- }
-
+ it=proto_tree_add_protocol_format(tree, proto_charging_ase, tvb, 0, tvb_length(tvb), "Charging ASE");
+ tr=proto_item_add_subtree(it, ett_charging_ase);
+ if(tvb_length(tvb)>0)
+ {
+ dissect_charging_ase_ChargingMessageType_PDU(tvb , pinfo, tr);
+ }
}
/* Register all the bits needed with the filtering engine */
-
void
proto_register_charging_ase(void)
{
@@ -85,11 +78,10 @@ proto_register_charging_ase(void)
};
/* List of subtrees */
- static gint *ett[] = {
+ static gint *ett[] = {
&ett_charging_ase,
#include "packet-charging_ase-ettarr.c"
- };
-
+ };
proto_charging_ase = proto_register_protocol(PNAME, PSNAME, PFNAME);
@@ -101,9 +93,6 @@ proto_register_charging_ase(void)
void
proto_reg_handoff_charging_ase(void)
{
-
charging_ase_handle = create_dissector_handle(dissect_charging_ase, proto_charging_ase);
-
-
}