aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iax2.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 07:35:43 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-03-11 07:35:43 +0000
commit6acffc23573f012f42f23792eec843d4da1188c4 (patch)
treecb857445b740fc85f4816131e9a1fe564ae5dae8 /epan/dissectors/packet-iax2.c
parent564846935aa17f6822688bdb60c13f80cd6ea520 (diff)
Get the build going again on non-Windows compilers.
svn path=/trunk/; revision=27697
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r--epan/dissectors/packet-iax2.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c
index c094a464f3..c4904a3afd 100644
--- a/epan/dissectors/packet-iax2.c
+++ b/epan/dissectors/packet-iax2.c
@@ -73,7 +73,7 @@ static int proto_iax2 = -1;
static int iax2_tap = -1;
/* protocol tap info */
-static iax2_info_t ii_arr[1] = {0};
+static iax2_info_t ii_arr[1];
static iax2_info_t *iax2_info = ii_arr;
/* The following hf_* variables are used to hold the wireshark IDs of
@@ -1062,15 +1062,18 @@ dissect_iax2 (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
proto_tree_add_item (full_mini_subtree, hf_iax2_scallno, tvb, offset-2, 2, FALSE);
}
- iax2_info->ptype = type;
- iax2_info->scallno = 0;
- iax2_info->dcallno = 0;
- iax2_info->ftype = 0;
- iax2_info->csub = 0;
- iax2_info->callState = VOIP_NO_STATE;
- iax2_info->payload_len = 0;
- iax2_info->timestamp = 0;
- iax2_info->payload_data = NULL;
+ iax2_info->ptype = type;
+ iax2_info->scallno = 0;
+ iax2_info->dcallno = 0;
+ iax2_info->ftype = 0;
+ iax2_info->csub = 0;
+ iax2_info->payload_len = 0;
+ iax2_info->timestamp = 0;
+ iax2_info->callState = VOIP_NO_STATE;
+ iax2_info->messageName = NULL;
+ iax2_info->callingParty = NULL;
+ iax2_info->calledParty = NULL;
+ iax2_info->payload_data = NULL;
switch( type ) {
case IAX2_FULL_PACKET: